diff options
author | David Robillard <d@drobilla.net> | 2019-12-08 19:13:33 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-12-08 20:59:06 +0100 |
commit | 14cd32a043552d39738ae0e84e4ef8ab93783296 (patch) | |
tree | 829845243215ed3fd96ff8fd6d6f324c35a60b3e /src/Resource.cpp | |
parent | 88dff1aabd3c81d1d81ac256e0061b98e0d24cec (diff) | |
download | ingen-14cd32a043552d39738ae0e84e4ef8ab93783296.tar.gz ingen-14cd32a043552d39738ae0e84e4ef8ab93783296.tar.bz2 ingen-14cd32a043552d39738ae0e84e4ef8ab93783296.zip |
Cleanup: Use "auto" to avoid repeating type names
Diffstat (limited to 'src/Resource.cpp')
-rw-r--r-- | src/Resource.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Resource.cpp b/src/Resource.cpp index 2601c2e3..fca76572 100644 --- a/src/Resource.cpp +++ b/src/Resource.cpp @@ -58,7 +58,7 @@ Resource::set_property(const URI& uri, const Atom& value, Resource::Graph ctx) auto next = i; ++next; if (i->second.context() == ctx) { - const Atom value(i->second); + const auto value = i->second; _properties.erase(i); on_property_removed(uri, value); } |