std::set::find only appeared in C++20. Rather use std::set::find for compatibility.
This commit is contained in:
Thibaut Cuvelier 2024-02-27 00:45:10 +01:00
parent 0c0f4c6b56
commit 27c01ee1d3

View File

@ -1220,7 +1220,7 @@ void InsetBibtex::docbook(XMLStream & xs, OutputParams const &) const
if (docbookTag == "SPECIFIC") { if (docbookTag == "SPECIFIC") {
delayedTags[match[1]] = match[2]; delayedTags[match[1]] = match[2];
} else { } else {
if (alreadyOutputDocBookTags.contains(docbookTag)) { if (alreadyOutputDocBookTags.find(docbookTag) != alreadyOutputDocBookTags.end()) {
xs << XMLStream::ESCAPE_NONE << xs << XMLStream::ESCAPE_NONE <<
from_utf8("<!-- Several similar tags in the reference for ") + from_utf8(docbookTag) + from_utf8("<!-- Several similar tags in the reference for ") + from_utf8(docbookTag) +
from_utf8(". New tag: ") + from_utf8(match[1]) + from_utf8(". Corresponding value: ") + from_utf8(". New tag: ") + from_utf8(match[1]) + from_utf8(". Corresponding value: ") +