Fix constness in certain operations
This commit is contained in:
@@ -110,7 +110,7 @@ public:
|
||||
int64_t alloc_id_for_thread(lua_State *L);
|
||||
|
||||
// Serialize to or deserialize from a streambuffer.
|
||||
void serialize(StreamBuffer *sb);
|
||||
void serialize(StreamBuffer *sb) const;
|
||||
void deserialize(StreamBuffer *sb);
|
||||
|
||||
// Generate a debug string.
|
||||
@@ -176,7 +176,7 @@ public:
|
||||
|
||||
// Serialize to or deserialize from a streambuffer.
|
||||
// Caution: the pointer to the global pool is not serialized or deserialized.
|
||||
void serialize(StreamBuffer *sb);
|
||||
void serialize(StreamBuffer *sb) const;
|
||||
void deserialize(StreamBuffer *sb);
|
||||
|
||||
// Difference transmission
|
||||
|
||||
Reference in New Issue
Block a user