summaryrefslogtreecommitdiffstats
path: root/Source/cmPropertyDefinition.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmPropertyDefinition.cxx')
-rw-r--r--Source/cmPropertyDefinition.cxx21
1 files changed, 9 insertions, 12 deletions
diff --git a/Source/cmPropertyDefinition.cxx b/Source/cmPropertyDefinition.cxx
index 9bb812e..546146b 100644
--- a/Source/cmPropertyDefinition.cxx
+++ b/Source/cmPropertyDefinition.cxx
@@ -13,22 +13,19 @@
#include "cmSystemTools.h"
-void cmPropertyDefinition
-::DefineProperty(const std::string& name, cmProperty::ScopeType scope,
- const char *shortDescription,
- const char *fullDescription,
- bool chain)
+void cmPropertyDefinition::DefineProperty(const std::string& name,
+ cmProperty::ScopeType scope,
+ const char* shortDescription,
+ const char* fullDescription,
+ bool chain)
{
this->Name = name;
this->Scope = scope;
this->Chained = chain;
- if (shortDescription)
- {
+ if (shortDescription) {
this->ShortDescription = shortDescription;
- }
- if (fullDescription)
- {
+ }
+ if (fullDescription) {
this->FullDescription = fullDescription;
- }
+ }
}
-