mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +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
@@ -82,8 +82,8 @@ public:
|
||||
text[0] = 0;
|
||||
}
|
||||
|
||||
typedef String::CharPointerType CharPointerType;
|
||||
typedef String::CharPointerType::CharType CharType;
|
||||
using CharPointerType = String::CharPointerType;
|
||||
using CharType = String::CharPointerType::CharType;
|
||||
|
||||
//==============================================================================
|
||||
static CharPointerType createUninitialisedBytes (const size_t numBytes)
|
||||
@@ -1872,7 +1872,7 @@ struct StringEncodingConverter
|
||||
{
|
||||
String& source = const_cast <String&> (s);
|
||||
|
||||
typedef typename CharPointerType_Dest::CharType DestChar;
|
||||
using DestChar = typename CharPointerType_Dest::CharType;
|
||||
|
||||
if (source.isEmpty())
|
||||
return CharPointerType_Dest (reinterpret_cast <const DestChar*> (&emptyChar));
|
||||
|
||||
Reference in New Issue
Block a user