From a7459b4164fb720cf610284bd9a5a44682e45e05 Mon Sep 17 00:00:00 2001 From: Eliyahu Ravuna Date: Sun, 11 Oct 2015 00:21:19 +0300 Subject: [PATCH] Typo fixed in C.165 --- CppCoreGuidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index eef7534..e4aeda9 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -5971,7 +5971,7 @@ For example, the general `swap()` will copy the elements of two `vector`s being void f1(N::X& a, N::X& b) { - std::swap(a,b); // propably not what we we wanted: calls std::swap() + std::swap(a,b); // propably not what we wanted: calls std::swap() } The `std::swap()` in `f1()` does exactly what we asked it to do: it calls the `swap()` in namespace `std`.