From fcf93adf1e766fbc69b05e598ee0aeb9b36b1c70 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Mon, 18 Jun 2018 21:48:07 +0200 Subject: =?UTF-8?q?Run=20clang-tidy=E2=80=99s=20modernize-use-emplace=20pa?= =?UTF-8?q?ss.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reduces the boilerplate required to add a new element to a container. --- src/graphlayout.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/graphlayout.cpp') diff --git a/src/graphlayout.cpp b/src/graphlayout.cpp index e347ceb5a..1cb2442e8 100644 --- a/src/graphlayout.cpp +++ b/src/graphlayout.cpp @@ -175,7 +175,7 @@ void graphlayout(std::vector const & items) { if (v_pair != nodelookup.end()) { unsigned v = v_pair->second; //cout << "Edge: (" << u <<","<style->marker_end.set) { if (directed && strcmp(conn->style->marker_end.value, "none")) { constraints.push_back(new SeparationConstraint(YDIM, v, u, -- cgit v1.2.3