stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r405911 - /incubator/stdcxx/trunk/tests/strings/21.string.substr.cpp
Date Fri, 12 May 2006 22:39:31 GMT
Author: sebor
Date: Fri May 12 15:39:30 2006
New Revision: 405911

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

	* 21.string.substr.cpp (test_substr): Inverted the expression
	in an unconditional assertion to make it actually fire when it
	gets hit and to silence icc warnings #279: controlling expression
	is constant.

Modified:
    incubator/stdcxx/trunk/tests/strings/21.string.substr.cpp

Modified: incubator/stdcxx/trunk/tests/strings/21.string.substr.cpp
URL: http://svn.apache.org/viewcvs/incubator/stdcxx/trunk/tests/strings/21.string.substr.cpp?rev=405911&r1=405910&r2=405911&view=diff
==============================================================================
--- incubator/stdcxx/trunk/tests/strings/21.string.substr.cpp (original)
+++ incubator/stdcxx/trunk/tests/strings/21.string.substr.cpp Fri May 12 15:39:30 2006
@@ -253,7 +253,7 @@
                 break;
 
             default:
-                RW_ASSERT ("test logic error: unknown substr overload");
+                RW_ASSERT (!"logic error: unknown substr overload");
                 return;
         }
 



Mime
View raw message