Skip to content

Commit

Permalink
Fix macos build.
Browse files Browse the repository at this point in the history
  • Loading branch information
egorpugin committed Apr 20, 2024
1 parent 51f5fca commit 17c149e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sw/driver/driver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ std::vector<std::unique_ptr<Input>> Driver::detectInputs(const path &p, InputTyp
{
if (c.starts_with("//cpp") || c.starts_with("// cpp"))
{
auto fn = path{SW_BINARY_DIR} / "spec" / p.stem() += std::format("_{}.cpp", std::hash<path>()(p));
auto fn = path{SW_BINARY_DIR} / "spec" / p.stem() += ("_"s + std::to_string(std::hash<path>()(p)) + ".cpp");
write_file_if_different(fn, c);

SpecificationFiles f;
Expand Down

0 comments on commit 17c149e

Please sign in to comment.