From 3a2d22dfe068553931ae86d0477eac3d07aa4668 Mon Sep 17 00:00:00 2001 From: Antony Woods Date: Wed, 22 Oct 2014 09:34:30 +0100 Subject: Removed instance of 'using namespace std' --- include/query_string.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'include/query_string.h') diff --git a/include/query_string.h b/include/query_string.h index 5a42782..afc112e 100644 --- a/include/query_string.h +++ b/include/query_string.h @@ -3,8 +3,6 @@ #include #include -using namespace std; - // ---------------------------------------------------------------------------- // qs_parse (modified) // https://github.com/bartgrantham/qs_parse @@ -273,16 +271,16 @@ namespace crow } - char* get (const string name) const + char* get (const std::string name) const { char* ret = qs_k2v(name.c_str(), _kv_pairs, _kv_size); return ret != 0 ? ret : nullptr; } - vector get_list (const string name) const + vector get_list (const std::string name) const { vector ret; - string plus = name + "[]"; + std::string plus = name + "[]"; char* tmp = nullptr; int count = 0; do -- cgit v1.2.3-54-g00ecf