aboutsummaryrefslogtreecommitdiff
path: root/src/headless/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/headless/main.cpp')
-rw-r--r--src/headless/main.cpp2
1 files changed, 1 insertions, 1 deletions
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, "<program>");
+ char const* program_name = StringUtils::get_filename(argc > 0 ? argv[0] : nullptr, "<program>");
fs::path root;
bool run_tests = false;
int argn = 0;