mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-01-24 17:26:41 +00:00
fix derp in 4c52a147b0
This commit is contained in:
parent
575a83abd6
commit
e47d253945
1 changed files with 6 additions and 1 deletions
|
@ -86,6 +86,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
// #define SISS_VERIFY
|
// #define SISS_VERIFY
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef SISS_VERIFY
|
||||||
|
# include <sstream>
|
||||||
|
#endif
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/*************************** Class definition ****************************/
|
/*************************** Class definition ****************************/
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
|
@ -422,7 +427,7 @@ inline SimpleIStringStream &SimpleIStringStream::operator=(
|
||||||
inline SimpleIStringStream::operator void*() const
|
inline SimpleIStringStream::operator void*() const
|
||||||
{
|
{
|
||||||
#ifdef SISS_VERIFY
|
#ifdef SISS_VERIFY
|
||||||
if (!error != (void*)(std_is)) {
|
if (!error != bool(std_is)) {
|
||||||
std::ostringstream os_offset; os_offset << (position - buffer);
|
std::ostringstream os_offset; os_offset << (position - buffer);
|
||||||
debugLog(std::string("SimpleIStringStream bool MISMATCH: us=")
|
debugLog(std::string("SimpleIStringStream bool MISMATCH: us=")
|
||||||
+ (!error ? "true" : "false") + " STL="
|
+ (!error ? "true" : "false") + " STL="
|
||||||
|
|
Loading…
Reference in a new issue