diff options
| author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2019-01-23 01:58:28 +0000 |
|---|---|---|
| committer | Martin Owens <doctormo@gmail.com> | 2019-03-06 01:26:24 +0000 |
| commit | e71e984af918104579da59e45785fe1651c5e992 (patch) | |
| tree | 9fe91c6e2b1237055e46dc4974c1003c2abc8d61 /src/splivarot.cpp | |
| parent | Revert modal fix to fix #108 (diff) | |
| download | inkscape-e71e984af918104579da59e45785fe1651c5e992.tar.gz inkscape-e71e984af918104579da59e45785fe1651c5e992.zip | |
Avoid the “using std::*;” or “using namespace std;” constructs.
This makes the code a lot less readable and greppable for no reason.
Diffstat (limited to '')
| -rw-r--r-- | src/splivarot.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
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 |
