summaryrefslogtreecommitdiff
path: root/boost/uuid/string_generator.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/uuid/string_generator.hpp')
-rw-r--r--boost/uuid/string_generator.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/boost/uuid/string_generator.hpp b/boost/uuid/string_generator.hpp
index b75f166713..1903448623 100644
--- a/boost/uuid/string_generator.hpp
+++ b/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"));
}
};