From 3bf741cda7defacf2ecd1626fa5ea777f9d32c21 Mon Sep 17 00:00:00 2001 From: eap Date: Thu, 14 Jan 2016 14:08:36 +0300 Subject: [PATCH] Fix compilation errors using gcc-5.X relating to explicit stream::operator bool() --- src/HEXABLOCKPlugin/HEXABLOCKPlugin_Hypothesis.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HEXABLOCKPlugin/HEXABLOCKPlugin_Hypothesis.cxx b/src/HEXABLOCKPlugin/HEXABLOCKPlugin_Hypothesis.cxx index f8e6134..b8061a4 100755 --- a/src/HEXABLOCKPlugin/HEXABLOCKPlugin_Hypothesis.cxx +++ b/src/HEXABLOCKPlugin/HEXABLOCKPlugin_Hypothesis.cxx @@ -124,7 +124,7 @@ std::istream & HEXABLOCKPlugin_Hypothesis::LoadFrom(std::istream & load) // else // load.clear(ios::badbit | load.rdstate()); - isOK = (load >> i); + isOK = static_cast(load >> i); if (isOK) hyp_dimension = i; else -- 2.30.2