diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2015-05-25 13:51:17 +0100 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2015-05-25 13:51:17 +0100 |
| commit | b42de850314e7d76f873ddc7d64c5f7d2a30eb00 (patch) | |
| tree | 8968f1fed86a5e8fc7df2796450d028a722a17d0 /src/safe_ptr.hh | |
| parent | 41319d2708bb311b2bd0b82ec310ae985f9b5861 (diff) | |
Migrate code to c++14
Diffstat (limited to 'src/safe_ptr.hh')
| -rw-r--r-- | src/safe_ptr.hh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/safe_ptr.hh b/src/safe_ptr.hh index 2e3b3d2b..5fe894b3 100644 --- a/src/safe_ptr.hh +++ b/src/safe_ptr.hh @@ -94,8 +94,7 @@ private: }; template<typename T> using SafePtr = - RefPtr<T, typename std::conditional<std::is_const<T>::value, - const SafeCountable, SafeCountable>::type>; + RefPtr<T, std::conditional_t<std::is_const<T>::value, const SafeCountable, SafeCountable>>; } |
