summaryrefslogtreecommitdiffstats
path: root/contrib/restricted/boost/libs/coroutine/src/exceptions.cpp
diff options
context:
space:
mode:
authorneksard <[email protected]>2022-02-10 16:45:23 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:45:23 +0300
commit8f7cf138264e0caa318144bf8a2c950e0b0a8593 (patch)
tree83bf5c8c8047c42d8475e6095df90ccdc3d1b57f /contrib/restricted/boost/libs/coroutine/src/exceptions.cpp
parentd3a398281c6fd1d3672036cb2d63f842d2cb28c5 (diff)
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'contrib/restricted/boost/libs/coroutine/src/exceptions.cpp')
-rw-r--r--contrib/restricted/boost/libs/coroutine/src/exceptions.cpp74
1 files changed, 37 insertions, 37 deletions
diff --git a/contrib/restricted/boost/libs/coroutine/src/exceptions.cpp b/contrib/restricted/boost/libs/coroutine/src/exceptions.cpp
index d32eb546838..97b4dd5c3bb 100644
--- a/contrib/restricted/boost/libs/coroutine/src/exceptions.cpp
+++ b/contrib/restricted/boost/libs/coroutine/src/exceptions.cpp
@@ -1,37 +1,37 @@
-
-// 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");
- }
-};
-
-BOOST_COROUTINES_DECL
-system::error_category const& coroutine_category() BOOST_NOEXCEPT
-{
- static coroutines::coroutine_error_category cat;
- return cat;
-}
-
-}}
+
+// 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");
+ }
+};
+
+BOOST_COROUTINES_DECL
+system::error_category const& coroutine_category() BOOST_NOEXCEPT
+{
+ static coroutines::coroutine_error_category cat;
+ return cat;
+}
+
+}}