mirror of https://github.com/aria2/aria2
2009-02-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added missing call to arrayWrapperConst * test/array_funTest.ccpull/1/head
parent
83caf2903b
commit
9ce0e78780
|
@ -1,3 +1,8 @@
|
||||||
|
2009-02-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||||
|
|
||||||
|
Added missing call to arrayWrapperConst
|
||||||
|
* test/array_funTest.cc
|
||||||
|
|
||||||
2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||||
|
|
||||||
Use array_wrapper instead of array_ptr.
|
Use array_wrapper instead of array_ptr.
|
||||||
|
|
|
@ -127,6 +127,8 @@ void array_funTest::testArrayWrapper()
|
||||||
array_wrapper<int, 10> a2 = a1;
|
array_wrapper<int, 10> a2 = a1;
|
||||||
CPPUNIT_ASSERT_EQUAL(9, a2[9]);
|
CPPUNIT_ASSERT_EQUAL(9, a2[9]);
|
||||||
|
|
||||||
|
arrayWrapperConst(a2);
|
||||||
|
|
||||||
array_wrapper<struct X, 10> x1;
|
array_wrapper<struct X, 10> x1;
|
||||||
arrayPtrCast(x1);
|
arrayPtrCast(x1);
|
||||||
arrayPtrConstCast(x1);
|
arrayPtrConstCast(x1);
|
||||||
|
|
Loading…
Reference in New Issue