Use _t versions of various type traits

Available now after switching to C++14 and GCC>=4.9

Change-Id: I44e9859a6abe66db16d77b228466b65eadced8ae
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
Eike Ziller
2017-01-11 17:04:23 +01:00
parent b299ff19ec
commit 63f66f28ac
5 changed files with 51 additions and 61 deletions

View File

@@ -50,7 +50,7 @@ public:
}
template<typename Type,
typename = typename std::enable_if<std::is_pointer<Type>::value>::type
typename = std::enable_if_t<std::is_pointer<Type>::value>
>
SmallStringView(Type characterPointer) noexcept
: m_pointer(characterPointer),