From b62cf68711d47fb85e7e05e53167e99bf58eeb0a Mon Sep 17 00:00:00 2001 From: Alexander Krotov Date: Sun, 2 Aug 2015 19:26:37 +0300 Subject: [PATCH] Make Buffer::CreateFullCopy private --- src/network/model/buffer.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/network/model/buffer.h b/src/network/model/buffer.h index c2b50ebce..d212ff6ed 100644 --- a/src/network/model/buffer.h +++ b/src/network/model/buffer.h @@ -560,14 +560,6 @@ private: */ inline Buffer::Iterator End (void) const; - /** - * \brief Create a full copy of the buffer, including - * all the internal structures. - * - * \returns a copy of the buffer - */ - Buffer CreateFullCopy (void) const; - /** * \brief Return the number of bytes required for serialization. * \return the number of bytes. @@ -698,6 +690,14 @@ private: uint8_t m_data[1]; }; + /** + * \brief Create a full copy of the buffer, including + * all the internal structures. + * + * \returns a copy of the buffer + */ + Buffer CreateFullCopy (void) const; + /** * \brief Transform a "Virtual byte buffer" into a "Real byte buffer" */