aboutsummaryrefslogtreecommitdiff
path: root/src/staticobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/staticobject.h')
-rw-r--r--src/staticobject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/staticobject.h b/src/staticobject.h
index 6fb486193..03cd23cc8 100644
--- a/src/staticobject.h
+++ b/src/staticobject.h
@@ -37,7 +37,7 @@ struct StaticObject
StaticObject() = default;
StaticObject(const ServerActiveObject *s_obj, const v3f &pos_);
- void serialize(std::ostream &os);
+ void serialize(std::ostream &os) const;
void deSerialize(std::istream &is, u8 version);
};