From 9dd8a23d5722bb5a585dbcab28db3937d7482427 Mon Sep 17 00:00:00 2001 From: cxl Date: Thu, 7 Nov 2013 05:58:58 +0000 Subject: [PATCH] Core: Ref fixed git-svn-id: svn://ultimatepp.org/upp/trunk@6533 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/Core/ValueUtil.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/uppsrc/Core/ValueUtil.h b/uppsrc/Core/ValueUtil.h index 19834c626..359754703 100644 --- a/uppsrc/Core/ValueUtil.h +++ b/uppsrc/Core/ValueUtil.h @@ -186,7 +186,7 @@ ValueType::operator ValueTypeRef() // ---------------------- Value Array -class ValueArray : ValueType > { +class ValueArray : public ValueType > { struct Data : Value::Void { virtual dword GetType() const { return VALUEARRAY_V; } virtual bool IsNull() const; @@ -227,7 +227,7 @@ public: ValueArray(const Nuller&) { Init0(); } bool IsNullInstance() const { return IsEmpty(); } - operator Ref() { return AsRef(*this); } +// operator Ref() { return AsRef(*this); } void Clear(); void SetCount(int n); @@ -261,7 +261,7 @@ public: template<> String AsString(const ValueArray& v); -class ValueMap : ValueType >{ +class ValueMap : public ValueType >{ struct Data : Value::Void { virtual dword GetType() const { return VALUEMAP_V; } virtual bool IsNull() const; @@ -303,7 +303,7 @@ public: ValueMap(const Nuller&) { Init0(); } bool IsNullInstance() const { return IsEmpty(); } - operator Ref() { return AsRef(*this); } +// operator Ref() { return AsRef(*this); } void Clear(); int GetCount() const { return data->value.GetCount(); }