From 757b0ff5dd08445ebac4f7ea50dd143a67f2e966 Mon Sep 17 00:00:00 2001 From: Daniel Pfeifer Date: Sat, 11 Jun 2016 09:49:00 +0200 Subject: Add missing braces around statements in header files --- Source/cmMakefile.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Source/cmMakefile.h') diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index c665b1f129..a078362309 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& GetInstallGenerators() { @@ -653,8 +654,9 @@ public: void AddTestGenerator(cmTestGenerator* g) { - if (g) + if (g) { this->TestGenerators.push_back(g); + } } const std::vector& GetTestGenerators() const { -- cgit v1.2.1