Fix compile errors when compiling unit tests using boost 1.42(bug #15717)
This commit is contained in:
parent
45a959c46d
commit
214a6c3385
1 changed files with 3 additions and 3 deletions
|
@ -39,19 +39,19 @@
|
|||
|
||||
static void exception_translator_config(const config::error& e)
|
||||
{
|
||||
throw boost::execution_exception(boost::execution_exception::cpp_exception_error, "config:error: " + e.message);
|
||||
throw "config:error: " + e.message;
|
||||
}
|
||||
|
||||
static void exception_translator_network(const network::error& e)
|
||||
{
|
||||
throw boost::execution_exception(boost::execution_exception::cpp_exception_error, "network::error: " + e.message);
|
||||
throw "network::error: " + e.message;
|
||||
}
|
||||
|
||||
|
||||
|
||||
static void exception_translator_game(const game::error& e)
|
||||
{
|
||||
throw boost::execution_exception(boost::execution_exception::cpp_exception_error, "game::error: " + e.message);
|
||||
throw "game::error: " + e.message;
|
||||
}
|
||||
|
||||
struct wesnoth_global_fixture {
|
||||
|
|
Loading…
Add table
Reference in a new issue