summaryrefslogtreecommitdiffstats
path: root/Source/cmProperty.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmProperty.h')
-rw-r--r--Source/cmProperty.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmProperty.h b/Source/cmProperty.h
index 3a0a5be..4179187 100644
--- a/Source/cmProperty.h
+++ b/Source/cmProperty.h
@@ -66,7 +66,10 @@ public:
explicit operator bool() const noexcept { return this->Value != nullptr; }
operator const std::string&() const noexcept { return this->operator*(); }
- operator cm::string_view() const noexcept { return this->operator*(); }
+ explicit operator cm::string_view() const noexcept
+ {
+ return this->operator*();
+ }
/**
* Does the value indicate a true or ON value?