Commit 006f5ce1 authored by Dominik Charousset's avatar Dominik Charousset

Drop incompatible distros, fix noexcept build

parent 7cb86a2d
...@@ -23,13 +23,14 @@ ...@@ -23,13 +23,14 @@
#include "caf/detail/net_export.hpp" #include "caf/detail/net_export.hpp"
#include "caf/error.hpp" #include "caf/error.hpp"
#include "caf/net/host.hpp" #include "caf/net/host.hpp"
#include "caf/raise_error.hpp"
namespace { namespace {
struct CAF_NET_EXPORT host_fixture { struct CAF_NET_EXPORT host_fixture {
host_fixture() { host_fixture() {
if (auto err = caf::net::this_host::startup()) if (auto err = caf::net::this_host::startup())
throw std::logic_error("this_host::startup failed"); CAF_RAISE_ERROR(std::logic_error, "this_host::startup failed");
} }
~host_fixture() { ~host_fixture() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment