diff options
author | David Robillard <d@drobilla.net> | 2017-12-25 16:05:05 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-12-25 16:26:13 -0500 |
commit | 71808f61f7db48a7ab4e16537b94ee5686749909 (patch) | |
tree | 5529b7c60b2488ac9575ddcb597c905bde577399 /src/Parser.cpp | |
parent | 15b3b0e9f8823752f80c7e597a70749813e61c79 (diff) | |
download | ingen-71808f61f7db48a7ab4e16537b94ee5686749909.tar.gz ingen-71808f61f7db48a7ab4e16537b94ee5686749909.tar.bz2 ingen-71808f61f7db48a7ab4e16537b94ee5686749909.zip |
Remove superfluous using namespace declarations
Diffstat (limited to 'src/Parser.cpp')
-rw-r--r-- | src/Parser.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/Parser.cpp b/src/Parser.cpp index 2115ab74..ed130e94 100644 --- a/src/Parser.cpp +++ b/src/Parser.cpp @@ -41,8 +41,6 @@ #define NS_RDF "http://www.w3.org/1999/02/22-rdf-syntax-ns#" #define NS_RDFS "http://www.w3.org/2000/01/rdf-schema#" -using namespace std; - namespace Ingen { std::set<Parser::ResourceRecord> @@ -194,7 +192,7 @@ get_port(Ingen::World* world, const std::string subject_str = subject.to_string(); const size_t last_slash = subject_str.find_last_of("/"); - sym = ((last_slash == string::npos) + sym = ((last_slash == std::string::npos) ? subject_str : subject_str.substr(last_slash + 1)); } @@ -359,7 +357,8 @@ parse_graph(Ingen::World* world, const Sord::Node& graph = subject; const Sord::Node nil; - string graph_path_str = relative_uri(base_uri, subject.to_string(), true); + std::string graph_path_str = relative_uri( + base_uri, subject.to_string(), true); if (parent && symbol) { graph_path_str = parent->child(*symbol); } else if (parent) { |