1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-01-24 17:26:41 +00:00
This commit is contained in:
fgenesis 2022-09-23 18:21:36 +02:00
parent 575a83abd6
commit e47d253945

View file

@ -86,6 +86,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
// #define SISS_VERIFY
#ifdef SISS_VERIFY
# include <sstream>
#endif
/*************************************************************************/
/*************************** Class definition ****************************/
/*************************************************************************/
@ -422,7 +427,7 @@ inline SimpleIStringStream &SimpleIStringStream::operator=(
inline SimpleIStringStream::operator void*() const
{
#ifdef SISS_VERIFY
if (!error != (void*)(std_is)) {
if (!error != bool(std_is)) {
std::ostringstream os_offset; os_offset << (position - buffer);
debugLog(std::string("SimpleIStringStream bool MISMATCH: us=")
+ (!error ? "true" : "false") + " STL="