diff --git a/uppsrc/TCore/util.h b/uppsrc/TCore/util.h index 08a3bfa89..ce5b18311 100644 --- a/uppsrc/TCore/util.h +++ b/uppsrc/TCore/util.h @@ -124,10 +124,10 @@ bool FileFlush(FileStream& fstream); struct BoolRef : public RefManager { - virtual int GetType() { return UNKNOWN_V; } - virtual Value GetValue(const void *x) { return *(const bool *)x ? 1 : 0; } + virtual int GetType() { return UNKNOWN_V; } + virtual Value GetValue(const void *x) { return *(const bool *)x ? 1 : 0; } virtual void SetValue(void *x, const Value& v) { *(bool *)x = !UPP::IsNull(v) && (double)v; } - virtual void SetNull(void *x) { *(bool *)x = false; } + virtual void SetNull(void *x) { *(bool *)x = false; } static RefManager *Manager() { static BoolRef m; return &m; } };