mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-06-17 12:03:34 +00:00
FShowFlags: Remove use of cpp file
Now that these constructs are constexpr capable, we can make use of constexpr here to contain it fully within the header.
This commit is contained in:
parent
b2db6a21fa
commit
d4564434c3
@ -1,3 +0,0 @@
|
||||
#include "FShowFlags.h"
|
||||
|
||||
const FShowFlags gkGameModeShowFlags = EShowFlag::MergedWorld | EShowFlag::ObjectGeometry | EShowFlag::Sky;
|
@ -19,7 +19,7 @@ enum class EShowFlag : uint32
|
||||
};
|
||||
DECLARE_FLAGS_ENUMCLASS(EShowFlag, FShowFlags)
|
||||
|
||||
extern const FShowFlags gkGameModeShowFlags;
|
||||
constexpr inline FShowFlags gkGameModeShowFlags{EShowFlag::MergedWorld | EShowFlag::ObjectGeometry | EShowFlag::Sky};
|
||||
|
||||
#endif // FSHOWFLAGS
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user