From f46cd5456db31f69477bdbb6eec8200151bd42ae Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sat, 2 Dec 2017 17:05:54 +0200 Subject: [PATCH] Fix incorrect function name in an exception --- source/fs/dir.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/fs/dir.cpp b/source/fs/dir.cpp index 717c11c..bd9eaa5 100644 --- a/source/fs/dir.cpp +++ b/source/fs/dir.cpp @@ -190,7 +190,7 @@ Path get_sys_data_dir() Path get_sys_lib_dir(const string &argv0, const string &appname) { if(argv0.empty() || appname.empty()) - throw invalid_argument("get_sys_data_dir"); + throw invalid_argument("get_sys_lib_dir"); Path dir = get_bin_dir(argv0); -- 2.43.0