diff options
Diffstat (limited to 'sources/shiboken6/generator/qtdoc/qtxmltosphinx.cpp')
-rw-r--r-- | sources/shiboken6/generator/qtdoc/qtxmltosphinx.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sources/shiboken6/generator/qtdoc/qtxmltosphinx.cpp b/sources/shiboken6/generator/qtdoc/qtxmltosphinx.cpp index daf6d6356..226453ab2 100644 --- a/sources/shiboken6/generator/qtdoc/qtxmltosphinx.cpp +++ b/sources/shiboken6/generator/qtdoc/qtxmltosphinx.cpp @@ -441,13 +441,13 @@ QString QtXmlToSphinx::popOutputBuffer() return result; } -static const QString autoTranslatedPlaceholder = u"AUTO_GENERATED\n"_s; -static const QString autoTranslatedNote = -uR"(.. warning:: +constexpr auto autoTranslatedPlaceholder = "AUTO_GENERATED\n"_L1; +constexpr auto autoTranslatedNote = +R"(.. warning:: This section contains snippets that were automatically translated from C++ to Python and may contain errors. -)"_s; +)"_L1; void QtXmlToSphinx::setAutoTranslatedNote(QString *str) const { |