From 3f6829abef9cc03bc344c4cad1bc7abe9490d1fd Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 28 Apr 2012 01:44:21 +0000 Subject: Lint. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4289 a436a847-0d15-0410-975c-d299462d15a1 --- src/shared/ClashAvoider.cpp | 4 ++-- src/shared/ResourceImpl.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/shared') diff --git a/src/shared/ClashAvoider.cpp b/src/shared/ClashAvoider.cpp index c2789ce7..7f0bceae 100644 --- a/src/shared/ClashAvoider.cpp +++ b/src/shared/ClashAvoider.cpp @@ -84,7 +84,7 @@ ClashAvoider::map_path(const Raul::Path& in) if (!exists(in) && _symbol_map.find(in) == _symbol_map.end()) { InsertRecord i = _symbol_map.insert(make_pair(in, in)); assert(i.second); - debug << " (3) " << i.first->second << endl;; + debug << " (3) " << i.first->second << endl; return i.first->second; // Append _2 _3 etc until an unused symbol is found @@ -115,7 +115,7 @@ ClashAvoider::map_path(const Raul::Path& in) debug << "HIT: offset = " << offset << ", str = " << str << endl; offset = _store.child_name_offset(in.parent(), name, false); _offsets.insert(make_pair(base_path, offset)); - debug << " (4) " << i.first->second << endl;; + debug << " (4) " << i.first->second << endl; return i.first->second; } else { debug << "MISSED OFFSET: " << in << " => " << ss.str() << endl; diff --git a/src/shared/ResourceImpl.cpp b/src/shared/ResourceImpl.cpp index 2a2ceb96..5ec07b13 100644 --- a/src/shared/ResourceImpl.cpp +++ b/src/shared/ResourceImpl.cpp @@ -33,7 +33,7 @@ ResourceImpl::add_property(const Raul::URI& uri, { // Ignore duplicate statements typedef Resource::Properties::const_iterator iterator; - const std::pair range = _properties.equal_range(uri); + const std::pair range = _properties.equal_range(uri); for (iterator i = range.first; i != range.second && i != _properties.end(); ++i) { if (i->second == value && i->second.context() == ctx) { return; @@ -117,7 +117,7 @@ ResourceImpl::type(const URIs& uris, bool& is_output) { typedef Resource::Properties::const_iterator iterator; - const std::pair types_range = properties.equal_range(uris.rdf_type); + const std::pair types_range = properties.equal_range(uris.rdf_type); patch = node = port = is_output = false; for (iterator i = types_range.first; i != types_range.second; ++i) { -- cgit v1.2.1