[LyX/master] C++11 compilation fix
Jean-Marc Lasgouttes
lasgouttes at lyx.org
Tue Dec 6 15:17:23 UTC 2022
commit f3f478c2fbcf89302ccadeb30aac413a40039d12
Author: Jean-Marc Lasgouttes <lasgouttes at lyx.org>
Date: Tue Dec 6 17:12:45 2022 +0100
C++11 compilation fix
---
src/frontends/qt/GuiRef.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/frontends/qt/GuiRef.cpp b/src/frontends/qt/GuiRef.cpp
index a07b735..9b91443 100644
--- a/src/frontends/qt/GuiRef.cpp
+++ b/src/frontends/qt/GuiRef.cpp
@@ -458,7 +458,7 @@ void GuiRef::redoRefs()
for (iter = refs_.begin(); iter != refs_.end(); ++iter) {
// first: plain label name, second: gui name
QString const lab = toqstr((*iter).first);
- refsNames.append(QPair(lab, toqstr((*iter).second)));
+ refsNames.append({lab, toqstr((*iter).second)});
if (groupCB->isChecked()) {
if (lab.contains(":")) {
QString const pref = lab.split(':')[0];
More information about the lyx-cvs
mailing list