mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Change typedef to using.
Conflicts: src/ripple/app/TODO.md src/ripple/app/ledger/Ledger.h src/ripple/protocol/Protocol.h
This commit is contained in:
committed by
Vinnie Falco
parent
9ad5644a8c
commit
845c9f8a51
@@ -44,13 +44,13 @@ namespace beast {
|
||||
toUTF32() methods let you access the string's content in any of the other formats.
|
||||
*/
|
||||
#if (BEAST_STRING_UTF_TYPE == 32)
|
||||
typedef CharPointer_UTF32 StringCharPointerType;
|
||||
using StringCharPointerType = CharPointer_UTF32;
|
||||
|
||||
#elif (BEAST_STRING_UTF_TYPE == 16)
|
||||
typedef CharPointer_UTF16 StringCharPointerType;
|
||||
using StringCharPointerType = CharPointer_UTF16;
|
||||
|
||||
#elif (BEAST_STRING_UTF_TYPE == 8)
|
||||
typedef CharPointer_UTF8 StringCharPointerType;
|
||||
using StringCharPointerType = CharPointer_UTF8;
|
||||
|
||||
#else
|
||||
#error "You must set the value of BEAST_STRING_UTF_TYPE to be either 8, 16, or 32!"
|
||||
|
||||
Reference in New Issue
Block a user