From ade5266970934e0bb5fc93041996bafe41062688 Mon Sep 17 00:00:00 2001 From: randomdan Date: Sat, 6 Sep 2014 15:06:02 +0000 Subject: Fix typo in get overload for shorts --- slicer/json/serializer.cpp | 2 +- slicer/slicer/modelParts.h | 2 +- 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(value); } - virtual void set(const Ice::Short & value) const + virtual void get(const Ice::Short & value) const { target = boost::numeric_cast(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((int)value)); } - virtual void set(const Ice::Short & value) const + virtual void get(const Ice::Short & value) const { apply(boost::lexical_cast(value)); } -- cgit v1.2.3