mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-09 20:51:16 +00:00
Modernize: Use "using" instead of "typedef" (#754)
This commit is contained in:

committed by
Jesse Beder

parent
0fddd1e5bd
commit
6e87b37034
@@ -189,7 +189,7 @@ Stream::Stream(std::istream& input)
|
||||
m_pPrefetched(new unsigned char[YAML_PREFETCH_SIZE]),
|
||||
m_nPrefetchedAvailable(0),
|
||||
m_nPrefetchedUsed(0) {
|
||||
typedef std::istream::traits_type char_traits;
|
||||
using char_traits = std::istream::traits_type;
|
||||
|
||||
if (!input)
|
||||
return;
|
||||
|
Reference in New Issue
Block a user