aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/simd_32/simd_sse.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-11-24 00:39:06 +0000
committerlloyd <[email protected]>2009-11-24 00:39:06 +0000
commit404462c4dda58af79a7cf53da790a86bdae4633e (patch)
tree441fe91b4da4a97e875b090ad9673a7b6499dba5 /src/utils/simd_32/simd_sse.h
parent798230f8e6893e0a8e4eed3cd3215cb5fef13154 (diff)
Make sure the SIMD_32 implementation we're using actually works on the
system before returning a new instance.
Diffstat (limited to 'src/utils/simd_32/simd_sse.h')
-rw-r--r--src/utils/simd_32/simd_sse.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/simd_32/simd_sse.h b/src/utils/simd_32/simd_sse.h
index 81d8afe75..9f03b3733 100644
--- a/src/utils/simd_32/simd_sse.h
+++ b/src/utils/simd_32/simd_sse.h
@@ -17,7 +17,7 @@ namespace Botan {
class SIMD_SSE2
{
public:
- bool enabled() const { return CPUID::has_sse2(); }
+ static bool enabled() { return CPUID::has_sse2(); }
SIMD_SSE2(const u32bit B[4])
{