From e71e984af918104579da59e45785fe1651c5e992 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Wed, 23 Jan 2019 02:58:28 +0100 Subject: =?UTF-8?q?Avoid=20the=20=E2=80=9Cusing=20std::*;=E2=80=9D=20or=20?= =?UTF-8?q?=E2=80=9Cusing=20namespace=20std;=E2=80=9D=20constructs.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This makes the code a lot less readable and greppable for no reason. --- src/splivarot.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/splivarot.cpp') diff --git a/src/splivarot.cpp b/src/splivarot.cpp index 38b5c7f89..38d4c65ff 100644 --- a/src/splivarot.cpp +++ b/src/splivarot.cpp @@ -466,9 +466,8 @@ BoolOpErrors Inkscape::ObjectSet::pathBoolOp(bool_op bop, const bool skip_undo, // reverse if needed // note that the selection list keeps its order if ( reverseOrderForOp ) { - using std::swap; - swap(originaux[0], originaux[1]); - swap(origWind[0], origWind[1]); + std::swap(originaux[0], originaux[1]); + std::swap(origWind[0], origWind[1]); } // and work -- cgit v1.2.3