summaryrefslogtreecommitdiff
path: root/i/marvin/src/data/data_buffer.hh
diff options
context:
space:
mode:
Diffstat (limited to 'i/marvin/src/data/data_buffer.hh')
-rw-r--r--i/marvin/src/data/data_buffer.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/i/marvin/src/data/data_buffer.hh b/i/marvin/src/data/data_buffer.hh
index 3d2201d..e0d526e 100644
--- a/i/marvin/src/data/data_buffer.hh
+++ b/i/marvin/src/data/data_buffer.hh
@@ -51,8 +51,6 @@ class DataBuffer : public DataInput, public DataOutput
dataType_e type_;
/// Augmente la taille du buffer pour correspondre à size.
void grow (const unsigned size);
- /// Echange les buffers.
- void swap (DataBuffer &d);
public:
/// Constructeur par défaut.
DataBuffer (void);
@@ -73,6 +71,8 @@ class DataBuffer : public DataInput, public DataOutput
void write (const uint8_t *buf, unsigned size);
/// Taille utile du buffer.
unsigned size (void) const { return tailPos_ - headPos_; }
+ /// Echange les buffers.
+ void swap (DataBuffer &d);
/// Type de données du buffer.
dataType_e type (void) const { return type_; }
/// Change le type de données du buffer.