fix(*): fix ambiguity in NAMESPACE_PRIVATE when expanding macros
This commit is contained in:
1 parent
566052c8c2
commit
7fb116c577
3 files changed
+3
-3
No files matched your search
@@ -57,7 +57,7 @@ struct TLiteral<u32char>
|
||||
NAMESPACE_PRIVATE_END
|
||||
|
||||
/** Templated literal struct to allow selection of string literals based on the character type provided, and not on compiler switches. */
|
||||
#define LITERAL(CharType, StringLiteral) NAMESPACE_PRIVATE::TLiteral<CharType>::Select(TEXT(StringLiteral), WTEXT(StringLiteral), U8TEXT(StringLiteral), U16TEXT(StringLiteral), U32TEXT(StringLiteral))
|
||||
#define LITERAL(CharType, StringLiteral) NAMESPACE_REDCRAFT::NAMESPACE_PRIVATE::TLiteral<CharType>::Select(TEXT(StringLiteral), WTEXT(StringLiteral), U8TEXT(StringLiteral), U16TEXT(StringLiteral), U32TEXT(StringLiteral))
|
||||
|
||||
static_assert(CUnsigned<u8char>, "TChar assumes u8char is an unsigned integer");
|
||||
static_assert(CUnsigned<u16char>, "TChar assumes u16char is an unsigned integer");
|
||||
|
||||
@@ -17,7 +17,7 @@ NAMESPACE_REDCRAFT_BEGIN
|
||||
NAMESPACE_MODULE_BEGIN(Redcraft)
|
||||
NAMESPACE_MODULE_BEGIN(Utility)
|
||||
|
||||
// @TODO: Refactor the conversion tool by more elegant way.
|
||||
// TODO: Refactor the conversion tool by more elegant way.
|
||||
|
||||
// The conversion tool uses a string to describe the object format.
|
||||
//
|
||||
|
||||
Reference in new issue
Block a user