blob: 3d9b8787aea65e06ea28f2091ac9d5ee6219b85e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$NetBSD: patch-include_solarus_EntityData.h,v 1.1 2015/07/07 11:41:19 joerg Exp $
With the constt, EntityData::EntityField is not copy-assignable, but
that is required elsewhere for use by .insert().
--- include/solarus/EntityData.h.orig 2015-07-04 14:10:49.000000000 +0000
+++ include/solarus/EntityData.h
@@ -63,7 +63,7 @@ class SOLARUS_API EntityData : public Lu
bool operator==(const FieldValue& other) const;
bool operator!=(const FieldValue& other) const;
- const EntityFieldType value_type;
+ EntityFieldType value_type;
std::string string_value;
int int_value; // Also used for boolean.
};
|