summaryrefslogtreecommitdiff
path: root/src/net/messageout.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/messageout.h')
-rw-r--r--src/net/messageout.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/messageout.h b/src/net/messageout.h
index 8771f5240..d374fd018 100644
--- a/src/net/messageout.h
+++ b/src/net/messageout.h
@@ -105,7 +105,7 @@ class MessageOut notfinal
* memory in advance instead of expanding size every time more data is
* added.
*/
- virtual void expand(size_t size) = 0;
+ virtual void expand(size_t size) const = 0;
char *mData; /**< Data building up. */
unsigned int mDataSize; /**< Size of data. */