diff options
author | Regina Pfeifer <regina@mailbox.org> | 2018-11-19 22:35:09 (GMT) |
---|---|---|
committer | Regina Pfeifer <regina@mailbox.org> | 2018-11-19 22:35:09 (GMT) |
commit | a2648dda97454efdc8c785d83cf039f6d2383e9e (patch) | |
tree | aacfe1e67c59539984df7229c9d6f645792681b1 /Source/cmCTest.h | |
parent | 1dc85a6652bc8255ff7a9ef39028a7df45e3007b (diff) | |
download | CMake-a2648dda97454efdc8c785d83cf039f6d2383e9e.zip CMake-a2648dda97454efdc8c785d83cf039f6d2383e9e.tar.gz CMake-a2648dda97454efdc8c785d83cf039f6d2383e9e.tar.bz2 |
Mark operator bool explicit
Diffstat (limited to 'Source/cmCTest.h')
-rw-r--r-- | Source/cmCTest.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCTest.h b/Source/cmCTest.h index 427049d..9139e42 100644 --- a/Source/cmCTest.h +++ b/Source/cmCTest.h @@ -66,7 +66,7 @@ public: const std::string& GetName() const { return this->Name; } void Enable() { this->Enabled = true; } - operator bool() const { return this->Enabled; } + explicit operator bool() const { return this->Enabled; } std::vector<std::string> SubmitFiles; |