summaryrefslogtreecommitdiffstats
path: root/Source/cmStandardIncludes.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmStandardIncludes.h')
-rw-r--r--Source/cmStandardIncludes.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/Source/cmStandardIncludes.h b/Source/cmStandardIncludes.h
index 6669e5c..d3bf301 100644
--- a/Source/cmStandardIncludes.h
+++ b/Source/cmStandardIncludes.h
@@ -75,17 +75,21 @@ struct cmDocumentationEntry
cmDocumentationEntry() {}
cmDocumentationEntry(const char* doc[2])
{
- if (doc[0])
+ if (doc[0]) {
this->Name = doc[0];
- if (doc[1])
+ }
+ if (doc[1]) {
this->Brief = doc[1];
+ }
}
cmDocumentationEntry(const char* n, const char* b)
{
- if (n)
+ if (n) {
this->Name = n;
- if (b)
+ }
+ if (b) {
this->Brief = b;
+ }
}
};