Update of /cvsroot/cppunit/cppunit2/include/cpptl
In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv20143/include/cpptl
Modified Files:
any.h
Log Message:
Added initial support for table fixture (still like cell value automatic
conversion, but it is usable).
Index: any.h
===================================================================
RCS file: /cvsroot/cppunit/cppunit2/include/cpptl/any.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** any.h 13 Nov 2005 10:12:01 -0000 1.3
--- any.h 15 Aug 2007 17:35:39 -0000 1.4
***************
*** 289,293 ****
if ( value->type() != CppTL::typeId( CppTL::Type<ValueType>() ) )
return 0;
! return static_cast<CppTL::Impl::AnyHolderImpl<ValueType> *>( value->holder_ )->value();
}
--- 289,293 ----
if ( value->type() != CppTL::typeId( CppTL::Type<ValueType>() ) )
return 0;
! return &( static_cast<CppTL::Impl::AnyHolderImpl<ValueType> *>( value->holder_ )->value() );
}
|