mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +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
52f298f150
commit
155fcdbcd0
@@ -42,7 +42,7 @@ namespace detail {
|
||||
class ErrorCategory
|
||||
{
|
||||
public:
|
||||
using Map = std::unordered_map <error_code_i, ErrorInfo> ;
|
||||
using Map = std::unordered_map <error_code_i, ErrorInfo>;
|
||||
|
||||
ErrorCategory ()
|
||||
: m_unknown (rpcUNKNOWN, "unknown", "An unknown error code.")
|
||||
|
||||
@@ -355,8 +355,8 @@ Account RippleAddress::getAccountID () const
|
||||
}
|
||||
}
|
||||
|
||||
typedef std::mutex StaticLockType;
|
||||
typedef std::lock_guard <StaticLockType> StaticScopedLockType;
|
||||
using StaticLockType = std::mutex;
|
||||
using StaticScopedLockType = std::lock_guard <StaticLockType>;
|
||||
|
||||
static StaticLockType s_lock;
|
||||
static hash_map <Blob, std::string> rncMapOld, rncMapNew;
|
||||
|
||||
@@ -39,7 +39,7 @@ SField::IsSigning const SField::notSigning;
|
||||
|
||||
int SField::num = 0;
|
||||
|
||||
typedef std::lock_guard <std::mutex> StaticScopedLockType;
|
||||
using StaticScopedLockType = std::lock_guard <std::mutex>;
|
||||
|
||||
// Give this translation unit only, permission to construct SFields
|
||||
struct SField::make
|
||||
|
||||
Reference in New Issue
Block a user