diff options
author | David Robillard <d@drobilla.net> | 2020-08-02 12:19:54 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-08-02 12:51:11 +0200 |
commit | 8123b3ff3aee3a161723c06a0d88141a0e8b7841 (patch) | |
tree | 82401219c53b678fcb3eab92904428e7b570a691 /src/client/ClientStore.cpp | |
parent | 8e0ab708ccb604c3224da2386dde609cb30de2b7 (diff) | |
download | ingen-8123b3ff3aee3a161723c06a0d88141a0e8b7841.tar.gz ingen-8123b3ff3aee3a161723c06a0d88141a0e8b7841.tar.bz2 ingen-8123b3ff3aee3a161723c06a0d88141a0e8b7841.zip |
Fix shadow warnings
Diffstat (limited to 'src/client/ClientStore.cpp')
-rw-r--r-- | src/client/ClientStore.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/ClientStore.cpp b/src/client/ClientStore.cpp index 74b307a5..1320de27 100644 --- a/src/client/ClientStore.cpp +++ b/src/client/ClientStore.cpp @@ -313,10 +313,10 @@ ClientStore::operator()(const Put& msg) SPtr<PluginModel> plug; if (p->second.is_valid() && (p->second.type() == _uris.forge.URI || p->second.type() == _uris.forge.URID)) { - const URI uri(_uris.forge.str(p->second, false)); - if (!(plug = _plugin(uri))) { + const URI plugin_uri(_uris.forge.str(p->second, false)); + if (!(plug = _plugin(plugin_uri))) { plug = std::make_shared<PluginModel>(uris(), - uri, + plugin_uri, Atom(), Properties()); add_plugin(plug); |