From 0a36ef18b4a3c047e10f047e248141e31d43df8a Mon Sep 17 00:00:00 2001 From: cxl Date: Sun, 3 Nov 2013 19:31:21 +0000 Subject: [PATCH] .cosmetics git-svn-id: svn://ultimatepp.org/upp/trunk@6525 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/TCore/util.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/uppsrc/TCore/util.h b/uppsrc/TCore/util.h index 95fb0dcf0..953fa5fcf 100644 --- a/uppsrc/TCore/util.h +++ b/uppsrc/TCore/util.h @@ -127,10 +127,10 @@ bool FileFlush(FileStream& fstream); struct BoolRef : public RefManager { - virtual int GetType() const { return UNKNOWN_V; } - virtual Value GetValue(const void *x) const { return *(const bool *)x ? 1 : 0; } - virtual void SetValue(void *x, const Value& v) const { *(bool *)x = !UPP::IsNull(v) && (double)v; } - virtual void SetNull(void *x) const { *(bool *)x = false; } + 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; } static RefManager *Manager() { static BoolRef m; return &m; } };