Skip to content

Commit ebf7e42

Browse files
committed
Fix Mac compilation by removing std::format
1 parent 84cc911 commit ebf7e42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pstack/gui/save.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ std::expected<in_save_state, std::string> save_state_from_json(std::string_view
277277

278278
std::vector<std::string> errors;
279279
const auto schema_reporter = [&](const jsoncons::jsonschema::validation_message& message) {
280-
errors.push_back(std::format("{}: {}", message.instance_location().string(), message.message()));
280+
errors.push_back(message.instance_location().string() + std::string(": ") + message.message());
281281
return jsoncons::jsonschema::walk_result::advance;
282282
};
283283
schema.validate(j, schema_reporter);

0 commit comments

Comments
 (0)