aboutsummaryrefslogtreecommitdiff
path: root/lib/util.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2020-12-27 18:10:07 +0100
committerKitsune Ral <Kitsune-Ral@users.sf.net>2020-12-27 22:25:21 +0100
commit2b52afbbf4316ec37eb6d1166990fa7ec5a61320 (patch)
tree0fb05c1e843d2d6eb8d590716aca8f78bfef5dfe /lib/util.h
parent95343a29f141f7d2b231a41615bc0e57acb890fe (diff)
downloadlibquotient-2b52afbbf4316ec37eb6d1166990fa7ec5a61320.tar.gz
libquotient-2b52afbbf4316ec37eb6d1166990fa7ec5a61320.zip
function_traits<>: define as empty by default
An incomplete type was preventing some SFINAE cases for literal types.
Diffstat (limited to 'lib/util.h')
-rw-r--r--lib/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.h b/lib/util.h
index 8c92df74..34f8714a 100644
--- a/lib/util.h
+++ b/lib/util.h
@@ -148,7 +148,7 @@ public:
namespace _impl {
template <typename AlwaysVoid, typename>
- struct fn_traits;
+ struct fn_traits {};
}
/// Determine traits of an arbitrary function/lambda/functor