stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vi...@apache.org
Subject svn commit: r668727 - /stdcxx/branches/4.3.x/include/rw/_static_assert.h
Date Tue, 17 Jun 2008 16:12:54 GMT
Author: vitek
Date: Tue Jun 17 09:12:54 2008
New Revision: 668727

URL: http://svn.apache.org/viewvc?rev=668727&view=rev
Log:
2008-06-17  Travis Vitek  <vitek@roguewave.com>

	STDCXX-916
	* include/rw/_static_assert.h: Qualify __rw_assert_failed with
	_RW to avoid compile errors when using _RWSTD_STATIC_ASSERT().


Modified:
    stdcxx/branches/4.3.x/include/rw/_static_assert.h

Modified: stdcxx/branches/4.3.x/include/rw/_static_assert.h
URL: http://svn.apache.org/viewvc/stdcxx/branches/4.3.x/include/rw/_static_assert.h?rev=668727&r1=668726&r2=668727&view=diff
==============================================================================
--- stdcxx/branches/4.3.x/include/rw/_static_assert.h (original)
+++ stdcxx/branches/4.3.x/include/rw/_static_assert.h Tue Jun 17 09:12:54 2008
@@ -56,9 +56,9 @@
 #  define _RWSTD_STATIC_ASSERT(Cond,Mesg) static_assert(Cond, Mesg)
 #else
 #  define _RWSTD_STATIC_ASSERT(Cond,Mesg)                                  \
-     typedef                                                               \
-     _RW::__rw_static_assert<sizeof (__rw_assert_failed<(Cond)>) != 0>     \
-         _RWSTD_PASTE(__static_assert,__LINE__)
+   typedef                                                                 \
+   _RW::__rw_static_assert<sizeof (_RW::__rw_assert_failed<(Cond)>) != 0>  \
+       _RWSTD_PASTE(__static_assert,__LINE__)
 #endif   // _RWSTD_NO_STATIC_ASSERT
 
 #endif   // _RWSTD_RW_STATIC_ASSERT_H_INCLUDED



Mime
View raw message