Skip to content

Commit

Permalink
suppressed clang-tidy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
silverqx committed Apr 2, 2023
1 parent e74d987 commit dbec0d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/orm/query/querybuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1413,7 +1413,7 @@ Builder Builder::cloneWithout(const std::unordered_set<PropertyType> &properties
auto copy = *this;

for (const auto property : properties)
switch (property) {
switch (property) { // NOLINT(hicpp-multiway-paths-covered)
case PropertyType::COLUMNS:
copy.m_columns.clear();
break;
Expand All @@ -1431,7 +1431,7 @@ Builder Builder::cloneWithoutBindings(
auto copy = *this;

for (const auto bindingType : except)
switch (bindingType) {
switch (bindingType) { // NOLINT(hicpp-multiway-paths-covered)
case BindingType::SELECT:
copy.m_bindings[BindingType::SELECT].clear();
break;
Expand Down

0 comments on commit dbec0d1

Please sign in to comment.