summaryrefslogtreecommitdiffstats
path: root/Source/cmStandardIncludes.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-04-03 19:35:22 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-04-03 19:53:14 (GMT)
commit6c190245703b2115e8cdf62ccdea090583d14299 (patch)
tree3656697400231b545192d68b99ac996c477569f9 /Source/cmStandardIncludes.h
parent4bef02e7aa60c48df923d778ae33438e573ec7bc (diff)
downloadCMake-6c190245703b2115e8cdf62ccdea090583d14299.zip
CMake-6c190245703b2115e8cdf62ccdea090583d14299.tar.gz
CMake-6c190245703b2115e8cdf62ccdea090583d14299.tar.bz2
Remove extra semicolons from C++ code.
Clang based tools running over the code complain about these, but clang has a fixit for removing them.
Diffstat (limited to 'Source/cmStandardIncludes.h')
-rw-r--r--Source/cmStandardIncludes.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmStandardIncludes.h b/Source/cmStandardIncludes.h
index a544894..3731502 100644
--- a/Source/cmStandardIncludes.h
+++ b/Source/cmStandardIncludes.h
@@ -324,12 +324,12 @@ struct cmDocumentationEntry
{
std::string Name;
std::string Brief;
- cmDocumentationEntry(){};
+ cmDocumentationEntry(){}
cmDocumentationEntry(const char *doc[2])
{ if (doc[0]) this->Name = doc[0];
- if (doc[1]) this->Brief = doc[1];};
+ if (doc[1]) this->Brief = doc[1];}
cmDocumentationEntry(const char *n, const char *b)
- { if (n) this->Name = n; if (b) this->Brief = b; };
+ { if (n) this->Name = n; if (b) this->Brief = b; }
};
/** Data structure to represent a single command line. */