summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2016-01-12 16:59:55 +0100
committerJose <jose@zeroc.com>2016-01-12 16:59:55 +0100
commit57d15f5375b0d455a5c73d16efe96f03364ac549 (patch)
treee231d21a6a431fc2e6ae8c955a35ba162b72574f /cpp
parentremove unused isKind template (diff)
downloadice-57d15f5375b0d455a5c73d16efe96f03364ac549.tar.bz2
ice-57d15f5375b0d455a5c73d16efe96f03364ac549.tar.xz
ice-57d15f5375b0d455a5c73d16efe96f03364ac549.zip
C++11 missing override
Diffstat (limited to 'cpp')
-rw-r--r--cpp/include/Ice/Value.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/cpp/include/Ice/Value.h b/cpp/include/Ice/Value.h
index 9e3d0449bd1..3a242168229 100644
--- a/cpp/include/Ice/Value.h
+++ b/cpp/include/Ice/Value.h
@@ -28,18 +28,18 @@ namespace Ice
class ICE_API Value
{
public:
-
+
virtual ~Value() = default;
-
+
virtual void ice_preMarshal();
virtual void ice_postUnmarshal();
virtual void __write(IceInternal::BasicStream*) const;
virtual void __read(IceInternal::BasicStream*);
-
+
virtual const std::string& ice_id() const;
static const std::string& ice_staticId();
-
+
std::shared_ptr<Value> ice_clone() const;
protected:
@@ -62,7 +62,7 @@ public:
{
return std::static_pointer_cast<T>(cloneImpl());
}
-
+
virtual const std::string& ice_id() const override
{
return T::ice_staticId();
@@ -70,7 +70,7 @@ public:
protected:
- virtual std::shared_ptr<Value> cloneImpl() const
+ virtual std::shared_ptr<Value> cloneImpl() const override
{
return std::make_shared<T>(static_cast<const T&>(*this));
}