mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-07 22:24:34 +01:00
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.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user