commit ffe59e276835ec5cf7021f831940c1378144f869
Author: Jean-Marc Lasgouttes <[email protected]>
Date: Wed Jun 11 23:16:37 2025 +0200
Remove useless constructor
Avoids clang warning:
/home/scott/lyxbuilds/master-master/repo/src/ParIterator.h:34:2: warning:
definition of implicit copy assignment operator for 'ParIterator' is deprecated
because it has a user-provided copy constructor
[-Wdeprecated-copy-with-user-provided-copy]
---
src/ParIterator.h | 6 ------
1 file changed, 6 deletions(-)
diff --git a/src/ParIterator.h b/src/ParIterator.h
index 2253a1d7bb..acdc35f36d 100644
--- a/src/ParIterator.h
+++ b/src/ParIterator.h
@@ -31,14 +31,8 @@ public:
///
ParIterator(Buffer * buf) : DocIterator(buf) {}
///
- ParIterator(ParIterator const & pi) :
- DocIterator(DocIterator(pi)) {}
- ///
explicit ParIterator(DocIterator const & dit) :
DocIterator(dit) {}
-
- /// This really should be implemented...
- //ParIterator & operator=(ParIterator const &);
///
ParIterator & operator++();
///
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs