Make two parameters const references

This commit is contained in:
Jean-Marc Lasgouttes 2024-09-13 11:27:00 +02:00
parent ffca6730d6
commit 3649cea9e5
2 changed files with 2 additions and 2 deletions

View File

@ -258,7 +258,7 @@ bool InsetIndexMacro::getStatus(Cursor & cur, FuncRequest const & cmd,
void InsetIndexMacro::processLatexSorting(otexstream & os, OutputParams const & runparams,
docstring const latex, docstring const plain) const
docstring const & latex, docstring const & plain) const
{
if (contains(latex, '\\') && !contains(latex, '@')) {
// Plaintext might return nothing (e.g. for ERTs).

View File

@ -101,7 +101,7 @@ private:
docstring toolTip(BufferView const & bv, int x, int y) const override;
///
void processLatexSorting(otexstream &, OutputParams const &,
docstring const, docstring const) const;
docstring const &, docstring const &) const;
///
bool hasSortKey() const;
///