mirror of
https://github.com/status-im/realm-js.git
synced 2025-02-22 03:08:10 +00:00
undef INFO_KEY macro after use
This commit is contained in:
parent
26f1a0a4c8
commit
68296d04b7
@ -23,8 +23,6 @@
|
||||
#include <map>
|
||||
#include <string>
|
||||
|
||||
#define INFO_KEY(key) InfoKey InfoKey##key = "InfoKey" #key;
|
||||
|
||||
namespace realm {
|
||||
class Property;
|
||||
|
||||
@ -85,6 +83,7 @@ namespace realm {
|
||||
static FormatStrings s_custom_format_strings;
|
||||
|
||||
public:
|
||||
#define INFO_KEY(key) InfoKey InfoKey##key = "InfoKey" #key;
|
||||
INFO_KEY(OldVersion);
|
||||
INFO_KEY(NewVersion);
|
||||
INFO_KEY(ObjectType);
|
||||
@ -94,6 +93,7 @@ namespace realm {
|
||||
INFO_KEY(PropertyObjectType);
|
||||
INFO_KEY(OldPropertyObjectType);
|
||||
INFO_KEY(PrimaryKey);
|
||||
#undef INFO_KEY
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user