commit 2401b3b0472d8cb07e629eeda2cab5c441a3d1c4
Author: Kornel Benko <[email protected]>
Date: Tue Feb 25 14:02:22 2025 +0100
Amend 93938087
Clang compiler choked with:
dummy4checklayout.cpp:61:21: error: no viable overloaded operator[]
for type 'lyx::LaTeXColors::TexColorMap'
(aka 'vector<pair<basic_string<char>, lyx::LaTeXColor>>')
return texcolormap_[name];
---
src/tests/dummy4checklayout.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/tests/dummy4checklayout.cpp b/src/tests/dummy4checklayout.cpp
index 2be7e51fcf..88543fee70 100644
--- a/src/tests/dummy4checklayout.cpp
+++ b/src/tests/dummy4checklayout.cpp
@@ -56,8 +56,8 @@ LaTeXColors::TexColorMap LaTeXColors::getLaTeXColors()
return(texcolormap_);
}
-LaTeXColor LaTeXColors::getLaTeXColor(string const & name)
+LaTeXColor LaTeXColors::getLaTeXColor(string const & /* name */)
{
- return texcolormap_[name];
+ return LaTeXColor();
}
} // namespace lyx
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs