summaryrefslogtreecommitdiffstats
path: root/Source/cmCallVisualStudioMacro.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-01-15 22:45:51 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-08-24 18:47:18 (GMT)
commite876963fc9e03018a189f4433050d459a475afbf (patch)
tree0432c88b4fadd7c66fdc6c7725dfbe235c561d22 /Source/cmCallVisualStudioMacro.cxx
parent44ffb9cdb4329c5ed9b724659f234d26da336b5a (diff)
downloadCMake-e876963fc9e03018a189f4433050d459a475afbf.zip
CMake-e876963fc9e03018a189f4433050d459a475afbf.tar.gz
CMake-e876963fc9e03018a189f4433050d459a475afbf.tar.bz2
Replace '0 == instances.size()' with instances.empty().
This is not a pattern.
Diffstat (limited to 'Source/cmCallVisualStudioMacro.cxx')
-rw-r--r--Source/cmCallVisualStudioMacro.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCallVisualStudioMacro.cxx b/Source/cmCallVisualStudioMacro.cxx
index c211111..0e04838 100644
--- a/Source/cmCallVisualStudioMacro.cxx
+++ b/Source/cmCallVisualStudioMacro.cxx
@@ -498,7 +498,7 @@ int cmCallVisualStudioMacro::CallMacro(
}
}
- if(0 == instances.size())
+ if(instances.empty())
{
// no instances to call