diff options
-rw-r--r-- | slicer/json/serializer.cpp | 2 | ||||
-rw-r--r-- | slicer/slicer/modelParts.h | 2 | ||||
-rw-r--r-- | slicer/xml/serializer.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/slicer/json/serializer.cpp b/slicer/json/serializer.cpp index dcce094..d680a69 100644 --- a/slicer/json/serializer.cpp +++ b/slicer/json/serializer.cpp @@ -76,7 +76,7 @@ namespace Slicer { target = boost::numeric_cast<json::Number>(value); } - virtual void set(const Ice::Short & value) const + virtual void get(const Ice::Short & value) const { target = boost::numeric_cast<json::Number>(value); } diff --git a/slicer/slicer/modelParts.h b/slicer/slicer/modelParts.h index ca1573a..6302b9f 100644 --- a/slicer/slicer/modelParts.h +++ b/slicer/slicer/modelParts.h @@ -27,7 +27,7 @@ namespace Slicer { public: virtual void get(const bool &) const = 0; virtual void get(const Ice::Byte &) const = 0; - virtual void set(const Ice::Short &) const = 0; + virtual void get(const Ice::Short &) const = 0; virtual void get(const Ice::Int &) const = 0; virtual void get(const Ice::Long &) const = 0; virtual void get(const Ice::Float &) const = 0; diff --git a/slicer/xml/serializer.cpp b/slicer/xml/serializer.cpp index 15d954e..0cf6b03 100644 --- a/slicer/xml/serializer.cpp +++ b/slicer/xml/serializer.cpp @@ -109,7 +109,7 @@ namespace Slicer { apply(boost::lexical_cast<Glib::ustring>((int)value)); } - virtual void set(const Ice::Short & value) const + virtual void get(const Ice::Short & value) const { apply(boost::lexical_cast<Glib::ustring>(value)); } |