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:
Howard Hinnant
2015-05-21 19:12:10 -04:00
committed by Vinnie Falco
parent 9ad5644a8c
commit 845c9f8a51
90 changed files with 362 additions and 362 deletions

View File

@@ -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));