]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/safe_numerics/test/test_add_native.cpp
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / boost / libs / safe_numerics / test / test_add_native.cpp
index b7a1ef92cc1d644542fd93f3fe9b5f74f016456b..31ce206e13d314568f678273f279554e1f666506 100644 (file)
@@ -52,8 +52,10 @@ struct test {
 #include "check_symmetry.hpp"
 
 int main(){
-    // sanity check on test matrix - should be symetrical
-    check_symmetry(test_addition_native_result);
+    static_assert(
+        check_symmetry(test_addition_native_result),
+        "sanity check on test matrix - should be symmetrical"
+    );
 
     test<test_values> rval(true);