diff --git a/src/ruisapp/application.cpp b/src/ruisapp/application.cpp index dd9aa08..c0ca95b 100644 --- a/src/ruisapp/application.cpp +++ b/src/ruisapp/application.cpp @@ -154,7 +154,7 @@ std::unique_ptr application_factory::create_application(int argc, c auto args = utki::make_span(argv, argc); if (args.empty()) { - return get_factory()(std::string_view(), nullptr); + return get_factory()(std::string_view(), {}); } return get_factory()(args.front(), args.subspan(1));