From 1992db1395d9c068327a7c08bac7a24ef7112274 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Blot?= Date: Sat, 19 Aug 2017 11:30:46 +0200 Subject: Code modernization: src/n*, src/o* (#6280) * Code modernization: src/n*, src/o* * empty function * default constructor/destructor * for range-based loops * use emplace_back instead of push_back * remove unused IWritableNodeDefManager::clone() * C++ STL header style * Pointer constness in some functions --- src/metadata.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/metadata.cpp') diff --git a/src/metadata.cpp b/src/metadata.cpp index 628e38c15..6ad65e007 100644 --- a/src/metadata.cpp +++ b/src/metadata.cpp @@ -50,8 +50,7 @@ bool Metadata::operator==(const Metadata &other) const return false; for (const auto &sv : m_stringvars) { - if (!other.contains(sv.first) || - other.getString(sv.first) != sv.second) + if (!other.contains(sv.first) || other.getString(sv.first) != sv.second) return false; } -- cgit v1.2.3