undef INFO_KEY macro after use

This commit is contained in:
Ari Lazier 2015-06-16 17:08:07 -07:00
parent 26f1a0a4c8
commit 68296d04b7
1 changed files with 2 additions and 2 deletions

View File

@ -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
};
}