summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGeneratorFactory.h
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2016-06-11 07:49:00 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2016-06-11 07:49:00 (GMT)
commit757b0ff5dd08445ebac4f7ea50dd143a67f2e966 (patch)
tree643e7f1eb4a264376e271e148b2e8c319377a493 /Source/cmGlobalGeneratorFactory.h
parenta16bf141bc5d393b27d13d8235d95a1b034052c2 (diff)
downloadCMake-757b0ff5dd08445ebac4f7ea50dd143a67f2e966.zip
CMake-757b0ff5dd08445ebac4f7ea50dd143a67f2e966.tar.gz
CMake-757b0ff5dd08445ebac4f7ea50dd143a67f2e966.tar.bz2
Add missing braces around statements in header files
Diffstat (limited to 'Source/cmGlobalGeneratorFactory.h')
-rw-r--r--Source/cmGlobalGeneratorFactory.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmGlobalGeneratorFactory.h b/Source/cmGlobalGeneratorFactory.h
index 640497a..7d4fe2c 100644
--- a/Source/cmGlobalGeneratorFactory.h
+++ b/Source/cmGlobalGeneratorFactory.h
@@ -51,8 +51,9 @@ public:
virtual cmGlobalGenerator* CreateGlobalGenerator(const std::string& name,
cmake* cm) const
{
- if (name != T::GetActualName())
+ if (name != T::GetActualName()) {
return 0;
+ }
return new T(cm);
}