diff options
author | Bernard Normier <bernard@zeroc.com> | 2016-07-13 12:06:46 -0400 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2016-07-13 12:06:46 -0400 |
commit | 30004443d55d6597f9695bfcf54a6771bc296501 (patch) | |
tree | 7e79568abd26300ef974ca22c6916044af1cb569 /cpp/include/Ice/InterfaceByValue.h | |
parent | Fixed for 7213 - Added check for VC120 to add PATH for Bzip2 library (diff) | |
download | ice-30004443d55d6597f9695bfcf54a6771bc296501.tar.bz2 ice-30004443d55d6597f9695bfcf54a6771bc296501.tar.xz ice-30004443d55d6597f9695bfcf54a6771bc296501.zip |
Various C++ cleanups
Diffstat (limited to 'cpp/include/Ice/InterfaceByValue.h')
-rw-r--r-- | cpp/include/Ice/InterfaceByValue.h | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/cpp/include/Ice/InterfaceByValue.h b/cpp/include/Ice/InterfaceByValue.h index c0b3c437463..6e1bd42590c 100644 --- a/cpp/include/Ice/InterfaceByValue.h +++ b/cpp/include/Ice/InterfaceByValue.h @@ -20,7 +20,7 @@ namespace Ice { template<typename T> -class InterfaceByValue : public Ice::ValueHelper<Ice::InterfaceByValue<T>, Ice::Value> +class InterfaceByValue : public ValueHelper<InterfaceByValue<T>, Value> { public: virtual std::string ice_id() const @@ -32,18 +32,11 @@ public: { return T::ice_staticId(); } -}; - -template<typename S, typename T> -struct StreamWriter<Ice::InterfaceByValue<T>, S> -{ - static void write(S* __os, const Ice::InterfaceByValue<T>& v) { } -}; -template<typename S, typename T> -struct StreamReader<Ice::InterfaceByValue<T>, S> -{ - static void read(S* __is, Ice::InterfaceByValue<T>& v) { } + std::tuple<> ice_tuple() const + { + return std::tie(); + } }; } |