commit ea287fb5bcd71fb653c6a6e9ac4031d0cb04f73a Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Thu Jul 3 00:48:04 2025 +0200
Rename InsetMath::write(TeXMathStream&) to writeMath This avoids overloading write(std::ostream&) and warnings like: src/mathed/InsetMathHull.h:135:14: warning: ‘virtual void lyx::InsetMathHull::write(std::ostream&) const’ was hidden [-Woverloaded-virtual=] 135 | void write(std::ostream & os) const override; | ^~~~~ src/mathed/InsetMathPar.h:36:14: note: by ‘virtual void lyx::InsetMathPar::write(lyx::TeXMathStream&) const’ 36 | void write(TeXMathStream & os) const override; | ^~~~~ Spotted by Scott's tireless warning effort. src/Cursor.cpp | 2 +- src/lyxfind.cpp | 4 ++-- src/mathed/InsetMath.cpp | 8 ++++---- src/mathed/InsetMath.h | 5 +---- src/mathed/InsetMathAMSArray.cpp | 4 ++-- src/mathed/InsetMathAMSArray.h | 2 +- src/mathed/InsetMathArray.cpp | 4 ++-- src/mathed/InsetMathArray.h | 2 +- src/mathed/InsetMathBig.cpp | 2 +- src/mathed/InsetMathBig.h | 2 +- src/mathed/InsetMathBoldSymbol.cpp | 2 +- src/mathed/InsetMathBoldSymbol.h | 2 +- src/mathed/InsetMathBox.cpp | 8 ++++---- src/mathed/InsetMathBox.h | 8 ++++---- src/mathed/InsetMathBrace.cpp | 2 +- src/mathed/InsetMathBrace.h | 2 +- src/mathed/InsetMathCancel.cpp | 2 +- src/mathed/InsetMathCancel.h | 2 +- src/mathed/InsetMathCancelto.cpp | 2 +- src/mathed/InsetMathCancelto.h | 2 +- src/mathed/InsetMathCases.cpp | 4 ++-- src/mathed/InsetMathCases.h | 2 +- src/mathed/InsetMathChar.cpp | 2 +- src/mathed/InsetMathChar.h | 2 +- src/mathed/InsetMathClass.cpp | 4 ++-- src/mathed/InsetMathClass.h | 2 +- src/mathed/InsetMathColor.cpp | 2 +- src/mathed/InsetMathColor.h | 2 +- src/mathed/InsetMathCommand.cpp | 2 +- src/mathed/InsetMathCommand.h | 2 +- src/mathed/InsetMathComment.cpp | 2 +- src/mathed/InsetMathComment.h | 2 +- src/mathed/InsetMathDecoration.cpp | 2 +- src/mathed/InsetMathDecoration.h | 2 +- src/mathed/InsetMathDelim.cpp | 2 +- src/mathed/InsetMathDelim.h | 2 +- src/mathed/InsetMathDiagram.cpp | 4 ++-- src/mathed/InsetMathDiagram.h | 2 +- src/mathed/InsetMathDiff.cpp | 2 +- src/mathed/InsetMathDiff.h | 2 +- src/mathed/InsetMathEnsureMath.cpp | 2 +- src/mathed/InsetMathEnsureMath.h | 2 +- src/mathed/InsetMathEnv.cpp | 2 +- src/mathed/InsetMathEnv.h | 2 +- src/mathed/InsetMathExInt.cpp | 2 +- src/mathed/InsetMathExInt.h | 2 +- src/mathed/InsetMathFont.cpp | 4 ++-- src/mathed/InsetMathFont.h | 2 +- src/mathed/InsetMathFontOld.cpp | 2 +- src/mathed/InsetMathFontOld.h | 2 +- src/mathed/InsetMathFrac.cpp | 6 +++--- src/mathed/InsetMathFrac.h | 4 ++-- src/mathed/InsetMathGrid.cpp | 10 +++++----- src/mathed/InsetMathGrid.h | 4 ++-- src/mathed/InsetMathHull.cpp | 24 ++++++++++++------------ src/mathed/InsetMathHull.h | 6 +++--- src/mathed/InsetMathIntertext.cpp | 2 +- src/mathed/InsetMathIntertext.h | 2 +- src/mathed/InsetMathKern.cpp | 2 +- src/mathed/InsetMathKern.h | 2 +- src/mathed/InsetMathLim.cpp | 2 +- src/mathed/InsetMathLim.h | 2 +- src/mathed/InsetMathMacro.cpp | 2 +- src/mathed/InsetMathMacro.h | 2 +- src/mathed/InsetMathMacroArgument.cpp | 2 +- src/mathed/InsetMathMacroArgument.h | 2 +- src/mathed/InsetMathMacroTemplate.cpp | 8 ++++---- src/mathed/InsetMathMacroTemplate.h | 4 ++-- src/mathed/InsetMathMatrix.cpp | 4 ++-- src/mathed/InsetMathMatrix.h | 2 +- src/mathed/InsetMathNest.cpp | 6 +++--- src/mathed/InsetMathNest.h | 2 +- src/mathed/InsetMathNumber.cpp | 2 +- src/mathed/InsetMathNumber.h | 2 +- src/mathed/InsetMathOverset.cpp | 2 +- src/mathed/InsetMathOverset.h | 2 +- src/mathed/InsetMathPar.cpp | 2 +- src/mathed/InsetMathPar.h | 2 +- src/mathed/InsetMathPhantom.cpp | 2 +- src/mathed/InsetMathPhantom.h | 2 +- src/mathed/InsetMathRef.cpp | 4 ++-- src/mathed/InsetMathRef.h | 2 +- src/mathed/InsetMathRoot.cpp | 2 +- src/mathed/InsetMathRoot.h | 2 +- src/mathed/InsetMathScript.cpp | 2 +- src/mathed/InsetMathScript.h | 2 +- src/mathed/InsetMathSideset.cpp | 2 +- src/mathed/InsetMathSideset.h | 2 +- src/mathed/InsetMathSize.cpp | 2 +- src/mathed/InsetMathSize.h | 2 +- src/mathed/InsetMathSpace.cpp | 2 +- src/mathed/InsetMathSpace.h | 2 +- src/mathed/InsetMathSpecialChar.cpp | 2 +- src/mathed/InsetMathSpecialChar.h | 2 +- src/mathed/InsetMathSplit.cpp | 4 ++-- src/mathed/InsetMathSplit.h | 2 +- src/mathed/InsetMathSqrt.cpp | 2 +- src/mathed/InsetMathSqrt.h | 2 +- src/mathed/InsetMathStackrel.cpp | 2 +- src/mathed/InsetMathStackrel.h | 2 +- src/mathed/InsetMathString.cpp | 2 +- src/mathed/InsetMathString.h | 2 +- src/mathed/InsetMathSubstack.cpp | 4 ++-- src/mathed/InsetMathSubstack.h | 2 +- src/mathed/InsetMathSymbol.cpp | 2 +- src/mathed/InsetMathSymbol.h | 2 +- src/mathed/InsetMathTabular.cpp | 4 ++-- src/mathed/InsetMathTabular.h | 2 +- src/mathed/InsetMathTextsize.cpp | 2 +- src/mathed/InsetMathTextsize.h | 2 +- src/mathed/InsetMathUnderset.cpp | 2 +- src/mathed/InsetMathUnderset.h | 2 +- src/mathed/InsetMathXArrow.cpp | 2 +- src/mathed/InsetMathXArrow.h | 2 +- src/mathed/InsetMathXYMatrix.cpp | 4 ++-- src/mathed/InsetMathXYMatrix.h | 2 +- src/mathed/MacroTable.cpp | 2 +- src/mathed/MathExtern.cpp | 8 ++++---- src/mathed/MathStream.cpp | 2 +- src/mathed/MathSupport.cpp | 4 ++-- 120 files changed, 173 insertions(+), 176 deletions(-) -- lyx-cvs mailing list lyx-cvs@lists.lyx.org https://lists.lyx.org/mailman/listinfo/lyx-cvs