Skip to content

Commit

Permalink
Make it compile with Win and VS again.
Browse files Browse the repository at this point in the history
  • Loading branch information
rburema committed Feb 20, 2024
1 parent 996fce7 commit 0b48b46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/utils/views/split_paths.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ namespace cura::views
namespace details
{
#ifdef _WIN32
constexpr auto path_sep = ";";
constexpr auto path_sep = ';';
#else
constexpr auto path_sep = ':';
#endif
Expand Down
2 changes: 1 addition & 1 deletion src/communication/CommandLine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ std::string CommandLine::findDefinitionFile(const std::string& definition_id, co
{
if (auto candidate = search_directory / (definition_id + ".def.json"); std::filesystem::exists(candidate))
{
return candidate;
return candidate.string();
}
}
spdlog::error("Couldn't find definition file with ID: {}", definition_id);
Expand Down

0 comments on commit 0b48b46

Please sign in to comment.