Skip to content

Commit 88e07b1

Browse files
committed
fix forgotten std::format
Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com>
1 parent ae5f97c commit 88e07b1

File tree

1 file changed

+1
-1
lines changed
  • power_grid_model_c/power_grid_model/include/power_grid_model/common

1 file changed

+1
-1
lines changed

power_grid_model_c/power_grid_model/include/power_grid_model/common/exception.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ class AutomaticTapCalculationError : public PowerGridError {
204204
class AutomaticTapInputError : public PowerGridError {
205205
public:
206206
AutomaticTapInputError(std::string const& msg) {
207-
append_msg("Automatic tap changer has invalid configuration. " + msg); // NOSONAR
207+
append_msg(std::format("Automatic tap changer has invalid configuration. {}", msg));
208208
}
209209
};
210210

0 commit comments

Comments
 (0)