From eefd0d925483295731007d53cee7ed3653964e78 Mon Sep 17 00:00:00 2001 From: Arvin Schnell Date: Wed, 30 Mar 2022 18:25:02 +0200 Subject: [PATCH] - micro optimization --- client/proxy-dbus.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/client/proxy-dbus.cc b/client/proxy-dbus.cc index 3e4cfef1..02daa211 100644 --- a/client/proxy-dbus.cc +++ b/client/proxy-dbus.cc @@ -400,6 +400,7 @@ ProxyComparisonDbus::ProxyComparisonDbus(ProxySnapperDbus* backref, const ProxyS } vector tmp2; + tmp2.reserve(tmp1.size()); for (const XFile& xfile : tmp1) tmp2.emplace_back(&file_paths, xfile.name, xfile.status); -- 2.47.3