commit b843817df61e303c16851bdbb00cc5f5a79826ab
parent b8ae03a444d3c252c4c90cbe8ab73ed49cbf1657
Author: d.levin256@gmail.com <d.levin256@gmail.com>
Date: Tue, 19 Jul 2016 15:56:34 +0300
detect_cpu: default value for template parameter
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/kfr/dispatch/cpuid.hpp b/include/kfr/dispatch/cpuid.hpp
@@ -122,7 +122,7 @@ KFR_INLINE u32 get_xcr0()
}
#endif
-template <size_t>
+template <size_t = 0>
cpu_t detect_cpu()
{
cpu_features c;