From 37231d69b02d5cd86024525e149a95cdeb32ce20 Mon Sep 17 00:00:00 2001 From: cylgom Date: Wed, 8 Nov 2017 07:10:17 +0100 Subject: [PATCH] fixed bool operator for IconAtlas --- specter/include/specter/Icon.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specter/include/specter/Icon.hpp b/specter/include/specter/Icon.hpp index a103ca453..78187a220 100644 --- a/specter/include/specter/Icon.hpp +++ b/specter/include/specter/Icon.hpp @@ -42,7 +42,7 @@ class IconAtlas } public: IconAtlas() = default; - operator bool() const {return m_tex != nullptr;} + operator bool() const {return m_tex;} void initializeAtlas(const boo::ObjToken& tex) { m_tex = tex;