]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/move/test/adaptive_sort_test.cpp
import quincy beta 17.1.0
[ceph.git] / ceph / src / boost / libs / move / test / adaptive_sort_test.cpp
index 973dd4c36e3216d56d0229acf72b5731d2f99abd..512138b0805b6433e6f9b4f23e3968b1d7310400 100644 (file)
@@ -22,6 +22,7 @@
 
 #include <boost/move/algo/adaptive_sort.hpp>
 #include <boost/move/core.hpp>
+#include <cstdlib>
 
 template<class T>
 bool test_random_shuffled(std::size_t const element_count, std::size_t const num_keys, std::size_t const num_iter)
@@ -53,7 +54,7 @@ bool test_random_shuffled(std::size_t const element_count, std::size_t const num
       if (!is_order_type_ordered(elements.get(), element_count))
       {
          std::cout <<  "\n ERROR\n";
-         throw int(0);
+         std::abort();
       }
    }
    return true;