[LyX/master] #11747 follow-up of change d94b708a0fec6ade04fc9d09bd86afd73e72fac7 to fix a compiler warning
Stephan Witt
switt at lyx.org
Sun Mar 8 12:14:10 UTC 2020
commit 0885098bd3c07ca71024c4fe1bc7d6a1879918f6
Author: Stephan Witt <switt at lyx.org>
Date: Sun Mar 8 13:33:02 2020 +0100
#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 717bd41..62b3341 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 204e9c4..cdcbb1c 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;
///
More information about the lyx-cvs
mailing list