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…
Reference in New Issue