diff options
Diffstat (limited to 'asl/base/utility_tests.cpp')
-rw-r--r-- | asl/base/utility_tests.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/asl/base/utility_tests.cpp b/asl/base/utility_tests.cpp index d959369..8fd6479 100644 --- a/asl/base/utility_tests.cpp +++ b/asl/base/utility_tests.cpp @@ -8,8 +8,7 @@ template<typename T> static constexpr int identify(T&&) { return 4; } struct IdentifySelf { - template<typename Self> - constexpr int get(this Self&& self) { return identify(ASL_FWD(self)); } + constexpr int get(this auto&& self) { return identify(ASL_FWD(self)); } }; static int get_const_lref(const IdentifySelf& i) { return ASL_FWD(i).get(); } |