From 7563cf9b3a507ac5444bb74acf09f2f9dea938f2 Mon Sep 17 00:00:00 2001 From: eap Date: Thu, 14 Jan 2016 14:11:15 +0300 Subject: [PATCH] Fix compilation errors using gcc-5.X relating to explicit stream::operator bool() --- src/HexoticPlugin/HexoticPlugin_Hypothesis.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HexoticPlugin/HexoticPlugin_Hypothesis.cxx b/src/HexoticPlugin/HexoticPlugin_Hypothesis.cxx index 0252125..b1b3a63 100644 --- a/src/HexoticPlugin/HexoticPlugin_Hypothesis.cxx +++ b/src/HexoticPlugin/HexoticPlugin_Hypothesis.cxx @@ -327,7 +327,7 @@ std::istream& HexoticPlugin_Hypothesis::LoadFrom(std::istream& load) std::string str1,str2,str3,str4; //save without any whitespaces! - isOK = (load >> str1); + isOK = static_cast(load >> str1); if (!(isOK)) { //defaults values assumed load.clear(std::ios::badbit | load.rdstate()); -- 2.39.2