Skip to content

Commit eb43c1b

Browse files
committed
websocket: remove Config::getInstance usage
1 parent 0847f95 commit eb43c1b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/vix/websocket/AttachedRuntime.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ namespace vix
305305
{
306306
register_ws_openapi_docs_once();
307307

308-
auto &cfg = vix::config::Config::getInstance(configPath);
308+
vix::config::Config cfg{configPath};
309309

310310
auto exec = std::make_shared<vix::executor::RuntimeExecutor>(
311311
std::thread::hardware_concurrency() == 0

0 commit comments

Comments
 (0)