stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r407668 - /incubator/stdcxx/trunk/tests/include/21.strings.h
Date Fri, 19 May 2006 00:12:27 GMT
Author: sebor
Date: Thu May 18 17:12:27 2006
New Revision: 407668

URL: http://svn.apache.org/viewvc?rev=407668&view=rev
Log:
2006-05-18  Martin Sebor  <sebor@roguewave.com>

	* 21.strings.h (DEFINE_STRING_TEST_DISPATCH): Used fully qualified
	StringMembers types Function and TestCase instead of relying on
	convenience typedefs defined in each test.

Modified:
    incubator/stdcxx/trunk/tests/include/21.strings.h

Modified: incubator/stdcxx/trunk/tests/include/21.strings.h
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/tests/include/21.strings.h?rev=407668&r1=407667&r2=407668&view=diff
==============================================================================
--- incubator/stdcxx/trunk/tests/include/21.strings.h (original)
+++ incubator/stdcxx/trunk/tests/include/21.strings.h Thu May 18 17:12:27 2006
@@ -569,7 +569,8 @@
     }                                                           \
                                                                 \
     static void                                                 \
-    fname (const MemFun &memfun, const TestCase &tcase) {       \
+    fname (const StringMembers::Function &memfun,               \
+           const StringMembers::TestCase &tcase) {              \
         /* disable tests exercising user-define allocator */    \
         rw_disable_user_allocator = 1;                          \
         TEST_DISPATCH (std::allocator, fname, memfun, tcase);   \
@@ -577,7 +578,8 @@
 
 #define DEFINE_STRING_TEST_DISPATCH(fname)                              \
     static void                                                         \
-    fname (const MemFun &memfun, const TestCase &tcase) {               \
+    fname (const StringMembers::Function &memfun,                       \
+           const StringMembers::TestCase &tcase) {                      \
         if (StringMembers::DefaultAllocator == memfun.alloc_id_) {      \
             TEST_DISPATCH (std::allocator, fname, memfun, tcase);       \
         }                                                               \



Mime
View raw message