diff options
-rw-r--r-- | src/shared/ByteBuffer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/ByteBuffer.h b/src/shared/ByteBuffer.h index 801270fa711..dc90e38e14f 100644 --- a/src/shared/ByteBuffer.h +++ b/src/shared/ByteBuffer.h @@ -228,12 +228,12 @@ class ByteBuffer _rpos += sizeof(T); return r; }; - template<> std::string read<std::string>() + /*template<> std::string read<std::string>() { std::string tmp; *this >> tmp; return tmp; - } + }*/ template <typename T> T read(size_t pos) const { ASSERT(pos + sizeof(T) <= size() || PrintPosError(false,pos,sizeof(T))); |