From 79f5fe99192e1f045fded3448dec1ede24430ed0 Mon Sep 17 00:00:00 2001 From: Stephan Witt Date: Sun, 8 Mar 2020 13:33:02 +0100 Subject: [PATCH] #11747 follow-up of change d94b708a0fec6ade04fc9d09bd86afd73e72fac7 to fix a compiler warning --- src/mathed/InsetMathRef.cpp | 2 +- src/mathed/InsetMathRef.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mathed/InsetMathRef.cpp b/src/mathed/InsetMathRef.cpp index 717bd419d8..62b3341ea0 100644 --- a/src/mathed/InsetMathRef.cpp +++ b/src/mathed/InsetMathRef.cpp @@ -203,7 +203,7 @@ int InsetMathRef::docbook(odocstream & os, OutputParams const & runparams) const } -void InsetMathRef::updateBuffer(ParIterator const & it, UpdateType /*utype*/) +void InsetMathRef::updateBuffer(ParIterator const & it, UpdateType /*utype*/, bool /*deleted*/) { if (!buffer_) { LYXERR0("InsetMathRef::updateBuffer: no buffer_!"); diff --git a/src/mathed/InsetMathRef.h b/src/mathed/InsetMathRef.h index 204e9c4746..cdcbb1cc15 100644 --- a/src/mathed/InsetMathRef.h +++ b/src/mathed/InsetMathRef.h @@ -27,7 +27,7 @@ public: /// explicit InsetMathRef(Buffer * buf, docstring const & data); /// - void updateBuffer(ParIterator const &, UpdateType); + void updateBuffer(ParIterator const &, UpdateType, bool const deleted = false); /// //void write(WriteStream & os) const; /// -- 2.39.5