summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <daniel.goodliffe@pressassociation.com>2017-10-17 16:03:19 +0100
committerDan Goodliffe <daniel.goodliffe@pressassociation.com>2017-10-17 16:03:19 +0100
commit38e562a2bb2a307ee4e31409f0581b7a8d9dec60 (patch)
treec46d70d05165dd2404e04eca74870c2114b89ee2
parentRemove the requirement to create value targets and sources as a smart pointer... (diff)
downloadslicer-38e562a2bb2a307ee4e31409f0581b7a8d9dec60.tar.bz2
slicer-38e562a2bb2a307ee4e31409f0581b7a8d9dec60.tar.xz
slicer-38e562a2bb2a307ee4e31409f0581b7a8d9dec60.zip
ValueSource and Target should not pointlessly extend IceUtil::Shared
-rw-r--r--slicer/slicer/modelParts.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/slicer/slicer/modelParts.h b/slicer/slicer/modelParts.h
index 0aebf8f..ae1aa85 100644
--- a/slicer/slicer/modelParts.h
+++ b/slicer/slicer/modelParts.h
@@ -28,7 +28,7 @@ namespace Slicer {
public:
virtual void get(const T &) const = 0;
};
- class ValueTarget : virtual public IceUtil::Shared,
+ class ValueTarget :
public TValueTarget<bool>,
public TValueTarget<Ice::Byte>,
public TValueTarget<Ice::Short>,
@@ -53,7 +53,7 @@ namespace Slicer {
public:
virtual void set(T &) const = 0;
};
- class ValueSource : virtual public IceUtil::Shared,
+ class ValueSource :
public TValueSource<bool>,
public TValueSource<Ice::Byte>,
public TValueSource<Ice::Short>,