Explorar o código

2009-02-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>

	Added missing call to arrayWrapperConst
	* test/array_funTest.cc
Tatsuhiro Tsujikawa %!s(int64=16) %!d(string=hai) anos
pai
achega
9ce0e78780
Modificáronse 2 ficheiros con 7 adicións e 0 borrados
  1. 5 0
      ChangeLog
  2. 2 0
      test/array_funTest.cc

+ 5 - 0
ChangeLog

@@ -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>
 
 	Use array_wrapper instead of array_ptr.

+ 2 - 0
test/array_funTest.cc

@@ -127,6 +127,8 @@ void array_funTest::testArrayWrapper()
   array_wrapper<int, 10> a2 = a1;
   CPPUNIT_ASSERT_EQUAL(9, a2[9]);
 
+  arrayWrapperConst(a2);
+
   array_wrapper<struct X, 10> x1;
   arrayPtrCast(x1);
   arrayPtrConstCast(x1);