summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-06-13 13:54:14 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-06-13 13:54:14 (GMT)
commitff1cce464d6e372cd2aced01fac28394c213aca9 (patch)
tree1a0703dccf4892e12eb83e66bc3b20b51f93a93e /Source/cmMakefile.h
parent6b0ab86eb5cfa14343180259fa56cd5b6d5c9a90 (diff)
parent757b0ff5dd08445ebac4f7ea50dd143a67f2e966 (diff)
downloadCMake-ff1cce464d6e372cd2aced01fac28394c213aca9.zip
CMake-ff1cce464d6e372cd2aced01fac28394c213aca9.tar.gz
CMake-ff1cce464d6e372cd2aced01fac28394c213aca9.tar.bz2
Merge topic 'add-braces'
757b0ff5 Add missing braces around statements in header files a16bf141 Add missing braces around statements. bd9e551c PseudoMemcheck: revise style with clang-format.
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index c665b1f..a078362 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -643,8 +643,9 @@ public:
void AddInstallGenerator(cmInstallGenerator* g)
{
- if (g)
+ if (g) {
this->InstallGenerators.push_back(g);
+ }
}
std::vector<cmInstallGenerator*>& GetInstallGenerators()
{
@@ -653,8 +654,9 @@ public:
void AddTestGenerator(cmTestGenerator* g)
{
- if (g)
+ if (g) {
this->TestGenerators.push_back(g);
+ }
}
const std::vector<cmTestGenerator*>& GetTestGenerators() const
{