diff options
author | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2025-02-27 23:58:57 +0100 |
---|---|---|
committer | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2025-02-28 00:30:34 +0100 |
commit | eb285643ed5dab8125e9c6bc94abd7ef562096a5 (patch) | |
tree | 99bb67ae08b15d4de39a8a98b0f9c051dce97546 /asl/base/utility_tests.cpp | |
parent | 38ab48b1882f36ed7eb7e50c4fb46ce5d376fbc3 (diff) |
Finish work on deducing this, for now
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(); } |