Skip to content

Commit b52891e

Browse files
committed
pdn: apply clang-tidy suggestion
Signed-off-by: Peter Gadfort <[email protected]>
1 parent 4a6a8f3 commit b52891e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pdn/src/grid.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1727,7 +1727,7 @@ void InstanceGrid::checkSetup() const
17271727
int64_t total_overlap = 0;
17281728
std::string layer_txt;
17291729
for (const auto* layer : layers) {
1730-
if (layer_txt.size() > 0) {
1730+
if (!layer_txt.empty()) {
17311731
layer_txt += ", ";
17321732
}
17331733
layer_txt += layer->getName();

0 commit comments

Comments
 (0)