Skip to content

Commit 69b737a

Browse files
committed
return void
Signed-off-by: Martijn Govers <[email protected]>
1 parent 126b1c4 commit 69b737a

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

power_grid_model_c/power_grid_model/include/power_grid_model/common/calculation_info.hpp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class CalculationInfo : public NoLogger {
2323
private:
2424
Data data_;
2525

26-
auto log_impl(LogEvent tag, double value) {
26+
void log_impl(LogEvent tag, double value) {
2727
using enum LogEvent;
2828

2929
switch (tag) {
@@ -53,10 +53,12 @@ class CalculationInfo : public NoLogger {
5353
case iterate_unknown:
5454
case calculate_math_result:
5555
case produce_output:
56-
return accumulate_log(tag, value);
56+
accumulate_log(tag, value);
57+
return;
5758
case iterative_pf_solver_max_num_iter:
5859
case max_num_iter:
59-
return maximize_log(tag, value);
60+
maximize_log(tag, value);
61+
return;
6062
default:
6163
return;
6264
}

0 commit comments

Comments
 (0)