Skip to content

Commit 85280c2

Browse files
mgoversCopilot
andauthored
Update power_grid_model_c/power_grid_model/include/power_grid_model/common/multi_threaded_logging.hpp
Signed-off-by: Martijn Govers <[email protected]> Co-authored-by: Copilot <[email protected]> Signed-off-by: Martijn Govers <[email protected]>
1 parent 0fe5288 commit 85280c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

power_grid_model_c/power_grid_model/include/power_grid_model/common/multi_threaded_logging.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class MultiThreadedLoggerImpl : public MultiThreadedLogger {
4545

4646
void sync(ThreadLogger const& logger) {
4747
std::lock_guard lock{mutex_};
48-
merge_into(log_, static_cast<SubThreadLogger>(logger));
48+
merge_into(log_, static_cast<SubThreadLogger const&>(logger));
4949
}
5050
};
5151

0 commit comments

Comments
 (0)