# HG changeset patch # User Santeri Piippo # Date 1515254223 -7200 # Node ID ffcbdce889784e39cefb0782c416b7b64f663b5d # Parent 5a31b6d4bf813e8f55da33231d04aa6de5f14b55 simplify diff -r 5a31b6d4bf81 -r ffcbdce88978 src/editmodes/magicWandMode.cpp --- a/src/editmodes/magicWandMode.cpp Thu Jan 04 22:52:04 2018 +0200 +++ b/src/editmodes/magicWandMode.cpp Sat Jan 06 17:57:03 2018 +0200 @@ -63,7 +63,7 @@ if (candidate->type() == OBJ_CondLine) m_selection << candidate; else - boundaries.append(std::make_tuple(candidate->vertex(0), candidate->vertex(1))); + boundaries.append({candidate->vertex(0), candidate->vertex(1)}); break; }