summaryrefslogtreecommitdiffstats
path: root/ksvg/impl/libs/libtext2path/src/myboost/throw_exception.h
diff options
context:
space:
mode:
Diffstat (limited to 'ksvg/impl/libs/libtext2path/src/myboost/throw_exception.h')
-rw-r--r--ksvg/impl/libs/libtext2path/src/myboost/throw_exception.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/ksvg/impl/libs/libtext2path/src/myboost/throw_exception.h b/ksvg/impl/libs/libtext2path/src/myboost/throw_exception.h
new file mode 100644
index 00000000..3223b564
--- /dev/null
+++ b/ksvg/impl/libs/libtext2path/src/myboost/throw_exception.h
@@ -0,0 +1,30 @@
+#ifndef BOOST_THROW_EXCEPTION_H_INCLUDED
+#define BOOST_THROW_EXCEPTION_H_INCLUDED
+
+
+//
+// boost/throw_exception.h
+//
+// Copyright (c) 2002 Peter Dimov and Multi Media Ltd.
+//
+// Permission to copy, use, modify, sell and distribute this software
+// is granted provided this copyright notice appears in all copies.
+// This software is provided "as is" without express or implied
+// warranty, and with no claim as to its suitability for any purpose.
+//
+// http://www.boost.org/libs/utility/throw_exception.html
+//
+
+# include <exception>
+
+namespace myboost
+{
+
+template<class E> void throw_exception(E const & e)
+{
+ throw e;
+}
+
+} // namespace myboost
+
+#endif // #ifndef BOOST_THROW_EXCEPTION_H_INCLUDED