summaryrefslogtreecommitdiff
path: root/include/serialize.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/serialize.h')
-rw-r--r--include/serialize.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/serialize.h b/include/serialize.h
index a43046b1e..472701932 100644
--- a/include/serialize.h
+++ b/include/serialize.h
@@ -80,7 +80,10 @@ class CoreExport Serializable : public virtual Base
virtual ~Serializable();
/* Unique ID (per type, not globally) for this object */
- unsigned int id;
+ uint64_t id;
+
+ /* Only used by redis, to ignore updates */
+ unsigned short redis_ignore;
/** Marks the object as potentially being updated "soon".
*/
@@ -129,7 +132,7 @@ class CoreExport Serialize::Type
public:
/* Map of Serializable::id to Serializable objects */
- std::map<unsigned int, Serializable *> objects;
+ std::map<uint64_t, Serializable *> objects;
/** Creates a new serializable type
* @param n Type name