diff options
Diffstat (limited to 'vespalib/src/tests/slime/type_traits.h')
-rw-r--r-- | vespalib/src/tests/slime/type_traits.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/vespalib/src/tests/slime/type_traits.h b/vespalib/src/tests/slime/type_traits.h index c5729478efb..dd5007ed651 100644 --- a/vespalib/src/tests/slime/type_traits.h +++ b/vespalib/src/tests/slime/type_traits.h @@ -16,30 +16,30 @@ template<> struct TypeTraits<NIX> { }; template<> struct TypeTraits<BOOL> { - typedef bool PassType; - typedef PassType StoreType; + using PassType = bool; + using StoreType = PassType; static const bool unsetValue = false; }; template<> struct TypeTraits<LONG> { - typedef int64_t PassType; - typedef PassType StoreType; + using PassType = int64_t; + using StoreType = PassType; static const int64_t unsetValue = 0; }; template<> struct TypeTraits<DOUBLE> { - typedef double PassType; - typedef PassType StoreType; + using PassType = double; + using StoreType = PassType; static const double unsetValue; }; template<> struct TypeTraits<STRING> { - typedef Memory PassType; + using PassType = Memory; static const Memory unsetValue; }; template<> struct TypeTraits<DATA> { - typedef Memory PassType; + using PassType = Memory; static const Memory unsetValue; }; |