From a7fe27a365ddcf74391d959c238cfb580cc62006 Mon Sep 17 00:00:00 2001 From: Pavel Kirienko Date: Fri, 21 Aug 2015 15:03:09 +0300 Subject: [PATCH] Ninja fix --- libuavcan/include/uavcan/marshal/float_spec.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libuavcan/include/uavcan/marshal/float_spec.hpp b/libuavcan/include/uavcan/marshal/float_spec.hpp index aa2604c9d5..ef3e93b884 100644 --- a/libuavcan/include/uavcan/marshal/float_spec.hpp +++ b/libuavcan/include/uavcan/marshal/float_spec.hpp @@ -50,7 +50,9 @@ class UAVCAN_EXPORT IEEE754Converter * Some compilers may have is_iec559 to be defined false despite the fact that IEEE754 is supported. * An acceptable workaround would be to put an #ifdef here. */ +#if UAVCAN_CPP_VERSION >= UAVCAN_CPP11 StaticAssert::Type>::is_iec559>::check(); +#endif } public: