From 2d044fd7f1c43792e27042217694a8c2e80417b1 Mon Sep 17 00:00:00 2001 From: David Hall Date: Tue, 11 Aug 2020 13:16:17 -0500 Subject: [PATCH] MCOL-4171 Fix comments in bytestream.h --- utils/messageqcpp/bytestream.h | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/utils/messageqcpp/bytestream.h b/utils/messageqcpp/bytestream.h index 35a85e3bc..3eccb7b0f 100644 --- a/utils/messageqcpp/bytestream.h +++ b/utils/messageqcpp/bytestream.h @@ -47,7 +47,6 @@ class ByteStreamTestSuite; using int128_t = __int128; using uint128_t = unsigned __int128; -using int128_t = __int128; namespace messageqcpp { @@ -149,17 +148,13 @@ public: */ EXPORT ByteStream& operator<<(const uint64_t o); /** - * push an uint128_t onto the end of the stream. The byte order is whatever the native byte order is. + * push an int128_t onto the end of the stream. The byte order is whatever the native byte order is. */ EXPORT ByteStream& operator<<(const int128_t& o); /** * push an uint128_t onto the end of the stream. The byte order is whatever the native byte order is. */ EXPORT ByteStream& operator<<(const uint128_t& o); - /** - * push an int128_t onto the end of the stream. The byte order is whatever the native byte order is. - */ - EXPORT ByteStream& operator<<(const int128_t& o); /** * push a float onto the end of the stream. The byte order is * whatever the native byte order is. @@ -225,17 +220,13 @@ public: */ EXPORT ByteStream& operator>>(uint64_t& o); /** - * extract an uint128_t from the front of the stream. The byte order is whatever the native byte order is. + * extract an int128_t from the front of the stream. The byte order is whatever the native byte order is. */ EXPORT ByteStream& operator>>(int128_t& o); /** * extract an uint128_t from the front of the stream. The byte order is whatever the native byte order is. */ EXPORT ByteStream& operator>>(uint128_t& o); - /** - * extract an int128_t from the front of the stream. The byte order is whatever the native byte order is. - */ - EXPORT ByteStream& operator>>(int128_t& o); /** * extract a float from the front of the stream. The byte * order is whatever the native byte order is. @@ -307,17 +298,13 @@ public: */ EXPORT void peek(uint64_t& o) const; /** - * Peek at an uint128_t from the front of the stream. The byte order is whatever the native byte order is. + * Peek at an int128_t from the front of the stream. The byte order is whatever the native byte order is. */ EXPORT void peek(int128_t& o) const; /** * Peek at an uint128_t from the front of the stream. The byte order is whatever the native byte order is. */ EXPORT void peek(uint128_t& o) const; - /** - * Peek at an int128_t from the front of the stream. The byte order is whatever the native byte order is. - */ - EXPORT void peek(int128_t& o) const; /** * Peek at a float from the front of the stream. The byte order * is whatever the native byte order is.