stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r368402 - /incubator/stdcxx/trunk/tests/algorithms/25.generate.cpp
Date Thu, 12 Jan 2006 16:36:46 GMT
Author: sebor
Date: Thu Jan 12 08:36:42 2006
New Revision: 368402

URL: http://svn.apache.org/viewcvs?rev=368402&view=rev
Log:
2006-01-12  Anton Pevtsov  <antonp@moscow.vdiweb.com>

	* 25.generate.cpp (test_generate, test_generate_n): call to
	delete was updated.

Modified:
    incubator/stdcxx/trunk/tests/algorithms/25.generate.cpp

Modified: incubator/stdcxx/trunk/tests/algorithms/25.generate.cpp
URL: http://svn.apache.org/viewcvs/incubator/stdcxx/trunk/tests/algorithms/25.generate.cpp?rev=368402&r1=368401&r2=368402&view=diff
==============================================================================
--- incubator/stdcxx/trunk/tests/algorithms/25.generate.cpp (original)
+++ incubator/stdcxx/trunk/tests/algorithms/25.generate.cpp Thu Jan 12 08:36:42 2006
@@ -145,7 +145,7 @@
             break;
     }
 
-    delete (buf);
+    delete[] (buf);
 }
 
 /**************************************************************************/
@@ -213,7 +213,7 @@
             break;
     }
 
-    ::operator delete (buf);
+    delete[] (buf);
 }
 
 /**************************************************************************/



Mime
View raw message