summaryrefslogtreecommitdiffhomepage
path: root/qxt-mini/powerset.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-11-03 07:16:21 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-11-03 07:16:21 +0100
commit29bea6f9b2166bf3e50815d84aff3535705f6b9b (patch)
tree0e71e401f300234b0c1a47303fcbfbee5f29c0cd /qxt-mini/powerset.hpp
parentfaa3108611e2b31e614d10531548803e2362a4f0 (diff)
fix build on Linux
Diffstat (limited to 'qxt-mini/powerset.hpp')
-rw-r--r--qxt-mini/powerset.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/qxt-mini/powerset.hpp b/qxt-mini/powerset.hpp
index 7847548e..d8a8ec9b 100644
--- a/qxt-mini/powerset.hpp
+++ b/qxt-mini/powerset.hpp
@@ -66,8 +66,7 @@ private:
};
template<typename t, typename... xs>
-auto
-cc_forceinline make_powerset(const t& arg, const xs&... args)
+inline auto make_powerset(const t& arg, const xs&... args)
{
using cnt = std::integral_constant<std::uintptr_t, sizeof...(xs)+1>;
using p = powerset<t, cnt::value>;