summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Source/cmDefinitions.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmDefinitions.h b/Source/cmDefinitions.h
index 4c1ad0afec..d615fb0e69 100644
--- a/Source/cmDefinitions.h
+++ b/Source/cmDefinitions.h
@@ -59,6 +59,7 @@ private:
public:
Def(): std_string(), Exists(false) {}
Def(const char* v): std_string(v?v:""), Exists(v?true:false) {}
+ Def(const std_string& v): std_string(v), Exists(true) {}
Def(Def const& d): std_string(d), Exists(d.Exists) {}
bool Exists;
};