Fix Linux/gcc compilation (#795)

Fixes #803
This commit is contained in:
Alex Kremer
2023-08-02 13:44:03 +01:00
committed by GitHub
parent 98d0a963dc
commit 24f69acd9e
81 changed files with 1259 additions and 1282 deletions

View File

@@ -46,7 +46,7 @@ TEST_F(RPCVersionHandlerTest, Default)
MAX_API_VERSION,
DEFAULT_API_VERSION))};
runSpawn([&](auto& yield) {
runSpawn([&](auto yield) {
auto const handler = AnyHandler{VersionHandler{cfg}};
auto const output = handler.process(static_cast<json::value>(cfg), Context{std::ref(yield)});
ASSERT_TRUE(output);