summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2014-09-06 15:06:02 +0000
committerrandomdan <randomdan@localhost>2014-09-06 15:06:02 +0000
commit5ef1253d05b1d192408d8a067817e2f770e4b3d4 (patch)
tree09aaf8c7b12bb25400962bb504217bba39f60556
parentFix serializer interface to operate only on model part, everything else is vi... (diff)
downloadslicer-5ef1253d05b1d192408d8a067817e2f770e4b3d4.tar.bz2
slicer-5ef1253d05b1d192408d8a067817e2f770e4b3d4.tar.xz
slicer-5ef1253d05b1d192408d8a067817e2f770e4b3d4.zip
Fix typo in get overload for shorts
-rw-r--r--slicer/json/serializer.cpp2
-rw-r--r--slicer/slicer/modelParts.h2
-rw-r--r--slicer/xml/serializer.cpp2
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));
}