diff options
Diffstat (limited to 'src/corelib/arch/qatomic_armv5.h')
-rw-r--r-- | src/corelib/arch/qatomic_armv5.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/corelib/arch/qatomic_armv5.h b/src/corelib/arch/qatomic_armv5.h index b3136fe575..210fbc1931 100644 --- a/src/corelib/arch/qatomic_armv5.h +++ b/src/corelib/arch/qatomic_armv5.h @@ -95,7 +95,8 @@ template <int size> struct QBasicAtomicOps: QGenericAtomicOps<QBasicAtomicOps<si kernel_dmb(); } - static void orderedMemoryFence() { _q_dmb(); } + template <typename T> + static void orderedMemoryFence(const T &) { _q_dmb(); } template <typename T> static bool ref(T &_q_value); template <typename T> static bool deref(T &_q_value); |