typos in untested code path.
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Fri, 29 Feb 2008 17:27:14 +0100
changeset 2513 a00e97e256ea
parent 2512 347c418403d4
child 2514 9402a946ac3d
typos in untested code path.
src/core/attribute-accessor-helper.h
--- a/src/core/attribute-accessor-helper.h	Fri Feb 29 00:45:02 2008 +0100
+++ b/src/core/attribute-accessor-helper.h	Fri Feb 29 17:27:14 2008 +0100
@@ -125,10 +125,10 @@
 	{}
     private:
       virtual bool DoSet (T *object, const V *v) const {
-	(object->*m_setter) (v->Get ());
+	(object->*m_setter) (U (v->Get ()));
 	return true;
       }
-      virtual void DoGet (const T *object, V *v) const {
+      virtual bool DoGet (const T *object, V *v) const {
 	return false;
       }
       void (T::*m_setter) (U);