From 71808f61f7db48a7ab4e16537b94ee5686749909 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 25 Dec 2017 16:05:05 -0500 Subject: Remove superfluous using namespace declarations --- src/client/PluginModel.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/client/PluginModel.cpp') diff --git a/src/client/PluginModel.cpp b/src/client/PluginModel.cpp index 42422b12..e8bdf12a 100644 --- a/src/client/PluginModel.cpp +++ b/src/client/PluginModel.cpp @@ -30,7 +30,7 @@ #include "ingen_config.h" -using namespace std; +using std::string; namespace Ingen { namespace Client { @@ -221,9 +221,9 @@ PluginModel::port_scale_points(uint32_t i) const LilvScalePoints* sp = lilv_port_get_scale_points(_lilv_plugin, port); LILV_FOREACH(scale_points, i, sp) { const LilvScalePoint* p = lilv_scale_points_get(sp, i); - points.insert( - make_pair(lilv_node_as_float(lilv_scale_point_get_value(p)), - lilv_node_as_string(lilv_scale_point_get_label(p)))); + points.emplace( + lilv_node_as_float(lilv_scale_point_get_value(p)), + lilv_node_as_string(lilv_scale_point_get_label(p))); } } return points; -- cgit v1.2.1