mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 02:55:50 +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
@@ -54,11 +54,11 @@ template <
|
||||
class basic_scoped_ostream
|
||||
{
|
||||
private:
|
||||
typedef std::function <void (
|
||||
std::basic_string <CharT, Traits, Allocator> const&)> handler_t;
|
||||
using handler_t = std::function <void (
|
||||
std::basic_string <CharT, Traits, Allocator> const&)>;
|
||||
|
||||
typedef std::basic_ostringstream <
|
||||
CharT, Traits, Allocator> stream_type;
|
||||
using stream_type = std::basic_ostringstream <
|
||||
CharT, Traits, Allocator>;
|
||||
|
||||
handler_t m_handler;
|
||||
|
||||
@@ -81,7 +81,7 @@ private:
|
||||
#endif
|
||||
|
||||
public:
|
||||
typedef std::basic_string <CharT, Traits> string_type;
|
||||
using string_type = std::basic_string <CharT, Traits>;
|
||||
|
||||
// Disallow copy since that would duplicate the output
|
||||
basic_scoped_ostream (basic_scoped_ostream const&) = delete;
|
||||
|
||||
Reference in New Issue
Block a user