diff options
-rw-r--r-- | c/common.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -66,7 +66,7 @@ inline auto throw_nil(T... args) template <auto f, class... T> inline auto warn_nil(T... args) { - decltype(f(args...)) r; + decltype(f(std::declval<T>()...)) r; try { r = throw_nil<f>(args...); } catch (Win32Error& e) { |