aboutsummaryrefslogtreecommitdiff
path: root/src/nodedef.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/nodedef.cpp')
-rw-r--r--src/nodedef.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nodedef.cpp b/src/nodedef.cpp
index 1795b199c..b046957e6 100644
--- a/src/nodedef.cpp
+++ b/src/nodedef.cpp
@@ -1414,7 +1414,7 @@ int NodeResolver::resolveNodes()
for (it = idset.begin(); it != idset.end(); ++it)
output->push_back(*it);
- if (idset.size() == 0) {
+ if (idset.empty()) {
num_failed++;
errorstream << "NodeResolver::resolveNodes(): Failed to "
"resolve '" << name << "'" << std::endl;