diff options
author | Claudius Holeksa <mail@keldu.de> | 2023-05-02 17:54:06 +0200 |
---|---|---|
committer | Claudius Holeksa <mail@keldu.de> | 2023-05-02 17:54:06 +0200 |
commit | 652c5eb52338111b89de5842ec2c63c4f693debc (patch) | |
tree | ec2c591fe9189f10acead8cf07b4d82225d6fbdc /forstio/async/async.cpp | |
parent | 3b14232d439428e1536e1fbe06e9d64a61a275a4 (diff) |
c++: renamed to snake_case and changed to new errors in io-tls
Diffstat (limited to 'forstio/async/async.cpp')
-rw-r--r-- | forstio/async/async.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/forstio/async/async.cpp b/forstio/async/async.cpp index ca85b30..c53ffa6 100644 --- a/forstio/async/async.cpp +++ b/forstio/async/async.cpp @@ -29,7 +29,7 @@ conveyor_node_with_child_mixin::conveyor_node_with_child_mixin( error_or<own<conveyor_node>> conveyor_node_with_child_mixin::swap_child(own<conveyor_node> &&swapee) { SAW_ASSERT(child) { - return critical_error("Child should exist if this function is called"); + return make_error<err::invalid_state>("Child should exist if this function is called"); } own<conveyor_node> old_child = std::move(child); |