diff options
Diffstat (limited to 'src/support/json.h')
-rw-r--r-- | src/support/json.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/support/json.h b/src/support/json.h index 269b6c0e9..bc880f382 100644 --- a/src/support/json.h +++ b/src/support/json.h @@ -65,8 +65,8 @@ struct Value { Type type = Null; - typedef std::vector<Ref> ArrayStorage; - typedef std::unordered_map<IString, Ref> ObjectStorage; + using ArrayStorage = std::vector<Ref>; + using ObjectStorage = std::unordered_map<IString, Ref>; // MSVC does not allow unrestricted unions: // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2544.pdf @@ -403,7 +403,7 @@ struct Value { } }; -typedef Value::Ref Ref; +using Ref = Value::Ref; } // namespace json |