Use directory_options instead of deprecated symlink_option

basename to step
This commit is contained in:
Nikola Matic
2023-01-12 10:37:01 +01:00
parent d4f9383185
commit 1da82045c4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -589,7 +589,7 @@ void CommandLineInterface::createFile(string const& _fileName, string const& _da
void CommandLineInterface::createJson(string const& _fileName, string const& _json)
{
createFile(boost::filesystem::basename(_fileName) + string(".json"), _json);
createFile(boost::filesystem::path(_fileName).stem().string() + string(".json"), _json);
}
bool CommandLineInterface::run(int _argc, char const* const* _argv)