From 48c447bd484252f38c0a4b9276024bfb77b9826c Mon Sep 17 00:00:00 2001 From: Jean-Francois Dockes Date: Mon, 18 Apr 2022 18:22:47 +0200 Subject: [PATCH] Avoid useless construct which confuses old gcc --- src/utils/conftree.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/conftree.h b/src/utils/conftree.h index dc6f86ad..200e6131 100644 --- a/src/utils/conftree.h +++ b/src/utils/conftree.h @@ -572,7 +572,7 @@ private: void construct(const std::vector& fns, bool ro) { bool ok{true}; for (unsigned int i = 0; i < fns.size(); i++) { - const auto& fn{fns[i]}; + const auto& fn = fns[i]; T* p = new T(fn.c_str(), ro); if (p && p->ok()) { m_confs.push_back(p);