summaryrefslogtreecommitdiffstats
path: root/Source/cmMachO.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-11-28 14:05:43 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-11-28 14:06:00 (GMT)
commitb134e89430404b7ad211ccd7b072c28410fae230 (patch)
tree8ffa0abf9eed94b8163e73e6732fb435ea097b45 /Source/cmMachO.h
parent5daf7d92f8971f13fb2f6fac117f44f355ec504a (diff)
parenta2648dda97454efdc8c785d83cf039f6d2383e9e (diff)
downloadCMake-b134e89430404b7ad211ccd7b072c28410fae230.zip
CMake-b134e89430404b7ad211ccd7b072c28410fae230.tar.gz
CMake-b134e89430404b7ad211ccd7b072c28410fae230.tar.bz2
Merge topic 'explicit-operator-bool'
a2648dda97 Mark operator bool explicit Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2649
Diffstat (limited to 'Source/cmMachO.h')
-rw-r--r--Source/cmMachO.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMachO.h b/Source/cmMachO.h
index 5886d76..5482465 100644
--- a/Source/cmMachO.h
+++ b/Source/cmMachO.h
@@ -30,7 +30,7 @@ public:
std::string const& GetErrorMessage() const;
/** Boolean conversion. True if the Mach-O file is valid. */
- operator bool() const { return this->Valid(); }
+ explicit operator bool() const { return this->Valid(); }
/** Get Install name from binary **/
bool GetInstallName(std::string& install_name);