From faa05854f832405231c9198787a4eafe2cd4c5f0 Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Tue, 24 Nov 2020 10:09:33 +0100 Subject: [PATCH] util: Remove probably misleading TODO The TODO has been added by me, but I don't remember how to solve it. The current code works fine, so just remove the TODO. --- src/util/check.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/check.h b/src/util/check.h index fd65cbf640b..e7620d97a08 100644 --- a/src/util/check.h +++ b/src/util/check.h @@ -46,7 +46,7 @@ class NonFatalCheckError : public std::runtime_error #error "Cannot compile without assertions!" #endif -/** Helper for Assert(). TODO remove in C++14 and replace `decltype(get_pure_r_value(val))` with `T` (templated lambda) */ +/** Helper for Assert() */ template T get_pure_r_value(T&& val) {