mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-28 23:15: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
9ad5644a8c
commit
845c9f8a51
@@ -28,9 +28,9 @@ namespace beast {
|
||||
template <bool IsConst, class T>
|
||||
struct maybe_const
|
||||
{
|
||||
typedef typename std::conditional <IsConst,
|
||||
using type = typename std::conditional <IsConst,
|
||||
typename std::remove_const <T>::type const,
|
||||
typename std::remove_const <T>::type>::type type;
|
||||
typename std::remove_const <T>::type>::type;
|
||||
};
|
||||
|
||||
/** Alias for omitting `typename`. */
|
||||
|
||||
Reference in New Issue
Block a user