You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stdcxx.apache.org by se...@apache.org on 2006/05/19 02:12:27 UTC

svn commit: r407668 - /incubator/stdcxx/trunk/tests/include/21.strings.h

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  <se...@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);       \
         }                                                               \