From 3d555982fd944daf1ab7163b5ff68217b5a4c3ad Mon Sep 17 00:00:00 2001 From: artemp Date: Fri, 18 Mar 2016 09:51:57 +0100 Subject: [PATCH] file_io - make operator bool() explicit via @lightmare (https://github.com/mapnik/mapnik/commit/0d032c261863b4c1c92f5630a91b0a15dba059c3#commitcomment-16753722) --- include/mapnik/util/file_io.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/mapnik/util/file_io.hpp b/include/mapnik/util/file_io.hpp index 17315e892..210828aea 100644 --- a/include/mapnik/util/file_io.hpp +++ b/include/mapnik/util/file_io.hpp @@ -63,7 +63,7 @@ public: return file_ ? true : false; } - inline operator bool() const + explicit operator bool() const { return this->open(); }