summaryrefslogtreecommitdiffstats
path: root/src/shared
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-04-28 01:44:21 +0000
committerDavid Robillard <d@drobilla.net>2012-04-28 01:44:21 +0000
commit3f6829abef9cc03bc344c4cad1bc7abe9490d1fd (patch)
treed730acc84e982a5329aacccf7f68b25beb258071 /src/shared
parent70f4bcdde45e94dbe27300a5069994aebc523cab (diff)
downloadingen-3f6829abef9cc03bc344c4cad1bc7abe9490d1fd.tar.gz
ingen-3f6829abef9cc03bc344c4cad1bc7abe9490d1fd.tar.bz2
ingen-3f6829abef9cc03bc344c4cad1bc7abe9490d1fd.zip
Lint.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4289 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/ClashAvoider.cpp4
-rw-r--r--src/shared/ResourceImpl.cpp4
2 files changed, 4 insertions, 4 deletions
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<iterator,iterator> range = _properties.equal_range(uri);
+ const std::pair<iterator, iterator> 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<iterator,iterator> types_range = properties.equal_range(uris.rdf_type);
+ const std::pair<iterator, iterator> 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) {