Make Buffer::CreateFullCopy private
authorAlexander Krotov <ilabdsf@yandex.ru>
Sun, 02 Aug 2015 19:26:37 +0300
changeset 11555 7e7d59586f2d
parent 11554 f72ea021c419
child 11556 bdebcc180265
Make Buffer::CreateFullCopy private
src/network/model/buffer.h
--- a/src/network/model/buffer.h	Sun Aug 02 19:26:35 2015 +0300
+++ b/src/network/model/buffer.h	Sun Aug 02 19:26:37 2015 +0300
@@ -561,14 +561,6 @@
   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.
    */
@@ -699,6 +691,14 @@
   };
 
   /**
+   * \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"
    */
   void TransformIntoRealBuffer (void) const;