diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2015-03-04 13:52:06 -0330 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2015-03-04 13:52:06 -0330 |
commit | 7085752d17d751e94f841e8ae133859195f3791c (patch) | |
tree | 90d87239ae99a08bb93d57edd1fecce05c2a803b /cpp | |
parent | ICE-6343 - fix embedded runpath for RPM build (diff) | |
download | ice-7085752d17d751e94f841e8ae133859195f3791c.tar.bz2 ice-7085752d17d751e94f841e8ae133859195f3791c.tar.xz ice-7085752d17d751e94f841e8ae133859195f3791c.zip |
ICE-6338 make stream writeEnum/readEnum virtual
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/include/Ice/Stream.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/cpp/include/Ice/Stream.h b/cpp/include/Ice/Stream.h index 6089f84e2f0..551e55f9b70 100644 --- a/cpp/include/Ice/Stream.h +++ b/cpp/include/Ice/Stream.h @@ -130,8 +130,7 @@ public: readObject(new ReadObjectCallbackI<T>(v)); } - Int - readEnum(Int maxValue) + virtual Int readEnum(Int maxValue) { if(getEncoding() == Encoding_1_0) { @@ -268,8 +267,7 @@ public: writeObject(ObjectPtr(v.get())); } - void - writeEnum(Int v, Int maxValue) + virtual void writeEnum(Int v, Int maxValue) { if(getEncoding() == Encoding_1_0) { |