Fixed silly little typo of mine, in test/swap_arrays.cpp

[SVN r47629]
This commit is contained in:
Niels Dekker 2008-07-20 12:18:25 +00:00
parent 64a0e0cb20
commit 899c92420c

View File

@ -14,7 +14,7 @@
//Provide swap function in both the namespace of swap_test_class //Provide swap function in both the namespace of swap_test_class
//(which is the global namespace), and the std namespace. //(which is the global namespace), and the std namespace.
//It's common to provide a swap function for a class in both //It's common to provide a swap function for a class in both
//namespaces. Scott Meyers recommends doing so: Effectice C++, //namespaces. Scott Meyers recommends doing so: Effective C++,
//Third Edition, item 25, "Consider support for a non-throwing swap". //Third Edition, item 25, "Consider support for a non-throwing swap".
void swap(swap_test_class& left, swap_test_class& right) void swap(swap_test_class& left, swap_test_class& right)
{ {