From e0b3fe1abde8b34b5e5fc6371a10ca6fec41f063 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johel=20Ernesto=20Guerrero=20Pe=C3=B1a?= Date: Mon, 14 Dec 2020 12:33:08 -0400 Subject: [PATCH] [util.smartptr.weak] Remove redundant declaration of 'swap' (#4037) The declaration of the non-member function is already present in the header synopsis [memory.syn] and does not need to be repeated in the class synopsis. We generally don't do this for any other free 'swap' function, either. --- source/utilities.tex | 4 ---- 1 file changed, 4 deletions(-) diff --git a/source/utilities.tex b/source/utilities.tex index b557f7ddc1..770dffb204 100644 --- a/source/utilities.tex +++ b/source/utilities.tex @@ -11050,10 +11050,6 @@ template weak_ptr(shared_ptr) -> weak_ptr; - - // \ref{util.smartptr.weak.spec}, specialized algorithms - template - void swap(weak_ptr& a, weak_ptr& b) noexcept; } \end{codeblock}