summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2017-09-23 13:49:02 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2017-09-23 13:49:02 +0100
commitcf48e268e0c9445c33c594b255a71bdc9be1211d (patch)
treec7b14ee49cc2300fee013ce7f0854818b1efe470
parentDB specific test models should be part of the DB package (diff)
downloadslicer-1.6.0.1.tar.bz2
slicer-1.6.0.1.tar.xz
slicer-1.6.0.1.zip
Add missing override for optional->optional conversionslicer-1.6.0.1
-rw-r--r--slicer/slicer/modelPartsTypes.impl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/slicer/slicer/modelPartsTypes.impl.h b/slicer/slicer/modelPartsTypes.impl.h
index 2fe6401..38fdf2c 100644
--- a/slicer/slicer/modelPartsTypes.impl.h
+++ b/slicer/slicer/modelPartsTypes.impl.h
@@ -215,6 +215,7 @@ namespace Slicer {
template <typename Y>
IceUtil::Optional<T> operator()(Y & y) const { return y; }
static bool valueExists(const T &) { return true; }
+ static bool valueExists(const IceUtil::Optional<T> &) { return true; }
};
template<typename ET, typename MT, typename Conv>