From b5bbeb47febc823517a5baba4eca66f32fb3609c Mon Sep 17 00:00:00 2001 From: hop311 Date: Sat, 4 Nov 2023 18:44:38 +0000 Subject: Cross-platform file lookup (case and separator) --- src/headless/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/headless') diff --git a/src/headless/main.cpp b/src/headless/main.cpp index 36a1329..0400302 100644 --- a/src/headless/main.cpp +++ b/src/headless/main.cpp @@ -74,7 +74,7 @@ static bool run_headless(Dataloader::path_vector_t const& roots, bool run_tests) int main(int argc, char const* argv[]) { Logger::set_logger_funcs(); - char const* program_name = Logger::get_filename(argc > 0 ? argv[0] : nullptr, ""); + char const* program_name = StringUtils::get_filename(argc > 0 ? argv[0] : nullptr, ""); fs::path root; bool run_tests = false; int argn = 0; -- cgit v1.2.3-56-ga3b1