summaryrefslogtreecommitdiffstats
path: root/Source/cmake.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-04-04 15:38:06 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-04-04 15:38:06 (GMT)
commit079153e98e7386cf99e0a55bd64790d9fd4ad28b (patch)
tree72abe4222e1c65c2588fc286ffbe12eb8e74f21c /Source/cmake.h
parentaeb930fcce91168e93cea1816dbb64c141558ac0 (diff)
parent6c190245703b2115e8cdf62ccdea090583d14299 (diff)
downloadCMake-079153e98e7386cf99e0a55bd64790d9fd4ad28b.zip
CMake-079153e98e7386cf99e0a55bd64790d9fd4ad28b.tar.gz
CMake-079153e98e7386cf99e0a55bd64790d9fd4ad28b.tar.bz2
Merge topic 'compiler-warning-cleanup'
6c190245 Remove extra semicolons from C++ code. 4bef02e7 cmTypeMacro: Add a class to eat the semicolon following the macro use. ff710539 Remove default labels from fully covered switch statements.
Diffstat (limited to 'Source/cmake.h')
-rw-r--r--Source/cmake.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmake.h b/Source/cmake.h
index 6772740..76a3179 100644
--- a/Source/cmake.h
+++ b/Source/cmake.h
@@ -98,9 +98,9 @@ class cmake
/// Destructor
~cmake();
- static const char *GetCMakeFilesDirectory() {return "/CMakeFiles";};
+ static const char *GetCMakeFilesDirectory() {return "/CMakeFiles";}
static const char *GetCMakeFilesDirectoryPostSlash() {
- return "CMakeFiles/";};
+ return "CMakeFiles/";}
//@{
/**
@@ -261,7 +261,7 @@ class cmake
void UpdateProgress(const char *msg, float prog);
///! get the cmake policies instance
- cmPolicies *GetPolicies() {return this->Policies;} ;
+ cmPolicies *GetPolicies() {return this->Policies;}
///! Get the variable watch object
cmVariableWatch* GetVariableWatch() { return this->VariableWatch; }
@@ -278,7 +278,7 @@ class cmake
bool GetPropertyAsBool(const std::string& prop);
// Get the properties
- cmPropertyMap &GetProperties() { return this->Properties; };
+ cmPropertyMap &GetProperties() { return this->Properties; }
///! Do all the checks before running configure
int DoPreConfigureChecks();