summaryrefslogtreecommitdiff
path: root/glib
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2016-04-10 13:38:23 +0200
committerMurray Cumming <murrayc@murrayc.com>2016-04-10 13:38:23 +0200
commite70ea7f26327c4a872e5f6b6b83fd3fdd26434ce (patch)
treedd75e0c61b387530d42e015c57f237a3c7921782 /glib
parentaee3a6fa6a37e1178b43437966b4225a34f9c6e2 (diff)
downloadglibmm-e70ea7f26327c4a872e5f6b6b83fd3fdd26434ce.tar.gz
FileAtrributeInfoList, Checksum, Module: Make operator bool explicit.
Diffstat (limited to 'glib')
-rw-r--r--glib/src/checksum.hg2
-rw-r--r--glib/src/module.hg2
2 files changed, 2 insertions, 2 deletions
diff --git a/glib/src/checksum.hg b/glib/src/checksum.hg
index 84a7ba0d..26770dd5 100644
--- a/glib/src/checksum.hg
+++ b/glib/src/checksum.hg
@@ -57,7 +57,7 @@ public:
/** Returns true if the Checksum object is valid.
* This will return false, for instance, if an unsupported checksum type was provided to the constructor.
*/
- operator bool() const;
+ explicit operator bool() const;
_WRAP_METHOD(void reset(), g_checksum_reset)
diff --git a/glib/src/module.hg b/glib/src/module.hg
index 2009c03f..dddb5249 100644
--- a/glib/src/module.hg
+++ b/glib/src/module.hg
@@ -84,7 +84,7 @@ public:
/** Check whether the module was found.
*/
- operator bool() const;
+ explicit operator bool() const;
/** Checks if modules are supported on the current platform.
* @returns true if available, false otherwise