diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-11-24 10:09:33 +0100 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2020-11-24 10:09:48 +0100 |
commit | faa05854f832405231c9198787a4eafe2cd4c5f0 (patch) | |
tree | 7a4df5f47ba059ad6f9188df9f07545be596fa5d /src/util/check.h | |
parent | fac5efe730ab5b8694920547203deefc5252d294 (diff) | |
download | bitcoin-faa05854f832405231c9198787a4eafe2cd4c5f0.tar.xz |
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.
Diffstat (limited to 'src/util/check.h')
-rw-r--r-- | src/util/check.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/check.h b/src/util/check.h index fd65cbf640..e7620d97a0 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 <typename T> T get_pure_r_value(T&& val) { |