summaryrefslogtreecommitdiff
path: root/src/third_party/boost-1.56.0/libs/coroutine/src/exceptions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/boost-1.56.0/libs/coroutine/src/exceptions.cpp')
-rw-r--r--src/third_party/boost-1.56.0/libs/coroutine/src/exceptions.cpp36
1 files changed, 0 insertions, 36 deletions
diff --git a/src/third_party/boost-1.56.0/libs/coroutine/src/exceptions.cpp b/src/third_party/boost-1.56.0/libs/coroutine/src/exceptions.cpp
deleted file mode 100644
index 3b7761a35ff..00000000000
--- a/src/third_party/boost-1.56.0/libs/coroutine/src/exceptions.cpp
+++ /dev/null
@@ -1,36 +0,0 @@
-
-// Copyright Oliver Kowalke 2009.
-// 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)
-
-#include <boost/coroutine/exceptions.hpp>
-
-namespace boost {
-namespace coroutines {
-
-class coroutine_error_category : public system::error_category
-{
-public:
- virtual const char* name() const BOOST_NOEXCEPT
- { return "coroutine"; }
-
- virtual std::string message( int ev) const
- {
- switch (BOOST_SCOPED_ENUM_NATIVE(coroutine_errc)(ev))
- {
- case coroutine_errc::no_data:
- return std::string("Operation not permitted because coroutine "
- "has no valid result.");
- }
- return std::string("unspecified coroutine_errc value\n");
- }
-};
-
-system::error_category const& coroutine_category() BOOST_NOEXCEPT
-{
- static coroutines::coroutine_error_category cat;
- return cat;
-}
-
-}}