diff options
author | David Robillard <d@drobilla.net> | 2018-01-21 00:41:34 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-01-21 00:41:34 +0100 |
commit | 90fca083052880479ad90d870e556f0648e32106 (patch) | |
tree | d99d4aa6f7f519d59b0d262dbc1f5451afff07d1 /src/gui/GraphBox.cpp | |
parent | e84092a7acee6c4d1493cbdd23ec5676b923f44d (diff) | |
download | ingen-90fca083052880479ad90d870e556f0648e32106.tar.gz ingen-90fca083052880479ad90d870e556f0648e32106.tar.bz2 ingen-90fca083052880479ad90d870e556f0648e32106.zip |
Replace insert(make_pair(...)) with emplace
Diffstat (limited to 'src/gui/GraphBox.cpp')
-rw-r--r-- | src/gui/GraphBox.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/GraphBox.cpp b/src/gui/GraphBox.cpp index 5504b964..def101a7 100644 --- a/src/gui/GraphBox.cpp +++ b/src/gui/GraphBox.cpp @@ -889,8 +889,8 @@ GraphBox::event_sprung_layout_toggled() _view->canvas()->set_sprung_layout(sprung); Properties properties; - properties.insert(make_pair(_app->uris().ingen_sprungLayout, - _app->forge().make(sprung))); + properties.emplace(_app->uris().ingen_sprungLayout, + _app->forge().make(sprung)); _app->interface()->put(_graph->uri(), properties); } |