]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/uuid/string_generator.hpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / boost / uuid / string_generator.hpp
index b75f1667132be462d7bf8b6cd53798521ecc23c4..7d9597edaf4436bad83abb4cd7052e82ce2ae8b5 100644 (file)
@@ -3,7 +3,7 @@
 // Copyright 2010 Andy Tompkins.
 // Distributed under the Boost Software License, Version 1.0. (See
 // accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
+// https://www.boost.org/LICENSE_1_0.txt)
 
 #ifndef BOOST_UUID_STRING_GENERATOR_HPP
 #define BOOST_UUID_STRING_GENERATOR_HPP
@@ -15,6 +15,7 @@
 #include <algorithm> // for find
 #include <stdexcept>
 #include <boost/throw_exception.hpp>
+#include <boost/config.hpp>
 
 #ifdef BOOST_NO_STDC_NAMESPACE
 namespace std {
@@ -187,7 +188,7 @@ private:
         }
     }
     
-    void throw_invalid() const {
+    BOOST_NORETURN void throw_invalid() const {
         BOOST_THROW_EXCEPTION(std::runtime_error("invalid uuid string"));
     }
 };