summaryrefslogtreecommitdiff
path: root/asl/base/utility_tests.cpp
diff options
context:
space:
mode:
authorSteven Le Rouzic <steven.lerouzic@gmail.com>2025-02-27 23:58:57 +0100
committerSteven Le Rouzic <steven.lerouzic@gmail.com>2025-02-28 00:30:34 +0100
commiteb285643ed5dab8125e9c6bc94abd7ef562096a5 (patch)
tree99bb67ae08b15d4de39a8a98b0f9c051dce97546 /asl/base/utility_tests.cpp
parent38ab48b1882f36ed7eb7e50c4fb46ce5d376fbc3 (diff)
Finish work on deducing this, for now
Diffstat (limited to 'asl/base/utility_tests.cpp')
-rw-r--r--asl/base/utility_tests.cpp3
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(); }