Require semicolon after most engine API macros
# Conflicts: # Source/Engine/Physics/PhysX/PhysicsBackendPhysX.cpp
This commit is contained in:
@@ -24,7 +24,7 @@ class ISerializeModifier;
|
||||
{ \
|
||||
stream.JKEY(#name); \
|
||||
Serialization::Serialize(stream, name, other ? &other->name : nullptr); \
|
||||
}
|
||||
} static_assert(true, "")
|
||||
|
||||
// Serialization helper macro (for private members, or with custom member name)
|
||||
#define SERIALIZE_MEMBER(name, member) \
|
||||
@@ -32,7 +32,7 @@ class ISerializeModifier;
|
||||
{ \
|
||||
stream.JKEY(#name); \
|
||||
Serialization::Serialize(stream, member, other ? &other->member : nullptr); \
|
||||
}
|
||||
} static_assert(true, "")
|
||||
|
||||
// Deserialization helper macro
|
||||
#define DESERIALIZE(name) \
|
||||
@@ -40,7 +40,7 @@ class ISerializeModifier;
|
||||
const auto e = SERIALIZE_FIND_MEMBER(stream, #name); \
|
||||
if (e != stream.MemberEnd()) \
|
||||
Serialization::Deserialize(e->value, name, modifier); \
|
||||
}
|
||||
} static_assert(true, "")
|
||||
|
||||
// Deserialization helper macro (for private members, or with custom member name)
|
||||
#define DESERIALIZE_MEMBER(name, member) \
|
||||
@@ -48,7 +48,7 @@ class ISerializeModifier;
|
||||
const auto e = SERIALIZE_FIND_MEMBER(stream, #name); \
|
||||
if (e != stream.MemberEnd()) \
|
||||
Serialization::Deserialize(e->value, member, modifier); \
|
||||
}
|
||||
} static_assert(true, "")
|
||||
|
||||
// Helper macros for bit fields
|
||||
|
||||
|
||||
Reference in New Issue
Block a user