File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -16,13 +16,13 @@ const std::filesystem::path& Options::getAbsolutePath()
16
16
// Where are the data files
17
17
18
18
// Get the location of this source file
19
- // This will always be - /some/path/inch/src/IO .cpp
19
+ // This will always be - /some/path/inch/src/options .cpp
20
20
// Only the directory separator/specifier will be different
21
- // We want to replace "src/IO .cpp" with "data_files/", using the appropriate separator
21
+ // We want to replace "src/options .cpp" with "data_files/", using the appropriate separator
22
22
std::regex re (" (src)(.)(.*)" );
23
23
const auto absolute_path = std::regex_replace (__FILE__, re, " data_files$2" );
24
24
25
- static const std::filesystem::path data{ absolute_path } ;
25
+ static const std::filesystem::path data = std::filesystem::absolute (absolute_path) ;
26
26
27
27
return data;
28
28
}
You can’t perform that action at this time.
0 commit comments