From 78fa6c94992a6d1a140da1354448a004e62c9683 Mon Sep 17 00:00:00 2001 From: azhirnov Date: Sat, 6 Feb 2021 00:35:37 +0300 Subject: merged with resource_signature --- Graphics/GraphicsTools/interface/ScreenCapture.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Graphics/GraphicsTools') diff --git a/Graphics/GraphicsTools/interface/ScreenCapture.hpp b/Graphics/GraphicsTools/interface/ScreenCapture.hpp index ee0f7d4c..2420ae15 100644 --- a/Graphics/GraphicsTools/interface/ScreenCapture.hpp +++ b/Graphics/GraphicsTools/interface/ScreenCapture.hpp @@ -51,7 +51,7 @@ public: RefCntAutoPtr pTexture; Uint32 Id = 0; - operator bool() const + explicit operator bool() const { return pTexture != nullptr; } -- cgit v1.2.3