summaryrefslogtreecommitdiffstats
path: root/src/layer-fns.cpp
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2019-01-23 01:58:28 +0000
committerMartin Owens <doctormo@gmail.com>2019-03-06 01:26:24 +0000
commite71e984af918104579da59e45785fe1651c5e992 (patch)
tree9fe91c6e2b1237055e46dc4974c1003c2abc8d61 /src/layer-fns.cpp
parentRevert modal fix to fix #108 (diff)
downloadinkscape-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 'src/layer-fns.cpp')
-rw-r--r--src/layer-fns.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/layer-fns.cpp b/src/layer-fns.cpp
index dfb003727..81c722ddc 100644
--- a/src/layer-fns.cpp
+++ b/src/layer-fns.cpp
@@ -107,8 +107,6 @@ static SPObject *last_elder_layer(SPObject *root, SPObject *layer) {
* @returns NULL if there are no further layers under \a root
*/
SPObject *next_layer(SPObject *root, SPObject *layer) {
- using std::find_if;
-
g_return_val_if_fail(layer != nullptr, NULL);
SPObject *result = nullptr;