Skip to content

Commit 0f93b79

Browse files
committed
sonar cloud warning
Signed-off-by: Martijn Govers <[email protected]>
1 parent 3b9bde7 commit 0f93b79

File tree

1 file changed

+4
-2
lines changed
  • power_grid_model_c/power_grid_model/include/power_grid_model/main_core

1 file changed

+4
-2
lines changed

power_grid_model_c/power_grid_model/include/power_grid_model/main_core/y_bus.hpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,11 @@ constexpr void add_to_increment(std::vector<MathModelParamIncrement>& increments
4949

5050
// default implementation for other components, does nothing
5151
template <typename ComponentType, typename ComponentContainer>
52-
constexpr void add_to_increment(std::vector<MathModelParamIncrement>& /* increments */,
52+
constexpr void add_to_increment(std::vector<MathModelParamIncrement> const& /* increments */,
5353
MainModelState<ComponentContainer> const& /* state */,
54-
Idx2D const& /* changed_component_idx */) {}
54+
Idx2D const& /* changed_component_idx */) {
55+
// default implementation is no-op
56+
}
5557
} // namespace detail
5658

5759
template <symmetry_tag sym, typename MainModelType>

0 commit comments

Comments
 (0)