summaryrefslogtreecommitdiff
path: root/boost/thread/exceptions.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/thread/exceptions.hpp')
-rw-r--r--boost/thread/exceptions.hpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/boost/thread/exceptions.hpp b/boost/thread/exceptions.hpp
index d97465b754..a3934f0799 100644
--- a/boost/thread/exceptions.hpp
+++ b/boost/thread/exceptions.hpp
@@ -40,19 +40,19 @@ namespace boost
typedef system::system_error base_type;
public:
thread_exception()
- : base_type(0,system::system_category())
+ : base_type(0,system::generic_category())
{}
thread_exception(int sys_error_code)
- : base_type(sys_error_code, system::system_category())
+ : base_type(sys_error_code, system::generic_category())
{}
thread_exception( int ev, const char * what_arg )
- : base_type(system::error_code(ev, system::system_category()), what_arg)
+ : base_type(system::error_code(ev, system::generic_category()), what_arg)
{
}
thread_exception( int ev, const std::string & what_arg )
- : base_type(system::error_code(ev, system::system_category()), what_arg)
+ : base_type(system::error_code(ev, system::generic_category()), what_arg)
{
}
@@ -74,18 +74,18 @@ namespace boost
typedef system::system_error base_type;
public:
condition_error()
- : base_type(system::error_code(0, system::system_category()), "Condition error")
+ : base_type(system::error_code(0, system::generic_category()), "Condition error")
{}
condition_error( int ev )
- : base_type(system::error_code(ev, system::system_category()), "Condition error")
+ : base_type(system::error_code(ev, system::generic_category()), "Condition error")
{
}
condition_error( int ev, const char * what_arg )
- : base_type(system::error_code(ev, system::system_category()), what_arg)
+ : base_type(system::error_code(ev, system::generic_category()), what_arg)
{
}
condition_error( int ev, const std::string & what_arg )
- : base_type(system::error_code(ev, system::system_category()), what_arg)
+ : base_type(system::error_code(ev, system::generic_category()), what_arg)
{
}
};