X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=lib.cpp;h=83a9692f059e19b7bd6600f92073cd67939d9526;hb=cc2bebc57b43d208beccce02e03756c4337f9e5e;hp=171ecedafbe26e98306a88ffc4a0eb9d529cdccb;hpb=63fd24efd774f1ed3f5dab82b934f35b7b039557;p=plocate diff --git a/lib.cpp b/lib.cpp index 171eced..83a9692 100644 --- a/lib.cpp +++ b/lib.cpp @@ -20,8 +20,6 @@ plocate parts and modifications are licensed under the GPLv2 or, at your option, any later version. */ -using namespace std; - #include "lib.h" #include "db.h" @@ -39,6 +37,8 @@ using namespace std; #include #include +using namespace std; + /* Compare two path names using the database directory order. This is not exactly strcmp () order: "a" < "a.b", so "a/z" < "a.b". */ int dir_path_cmp(const string &a, const string &b)