From dfa97f80d9fc1c8c6a4cd03234c4429fa95362a0 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Fri, 15 Oct 2021 16:20:40 +0200 Subject: [PATCH] Explicit InsetTableCell copy constructor Use explicit default syntax (C++11). Adapted from: commit bff97ba76d65da3f9048ef107b29ee642bdd5229 commit 3d46cc302bcff979a874ef2ea9c8a56a85aaec77 --- src/insets/InsetTabular.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/insets/InsetTabular.h b/src/insets/InsetTabular.h index 1398276a89..1e2fb655ad 100644 --- a/src/insets/InsetTabular.h +++ b/src/insets/InsetTabular.h @@ -53,6 +53,9 @@ class InsetTableCell : public InsetText public: /// InsetTableCell(Buffer * buf); + /// We need this since generation of the default is deprecated + /// (since we declare the assignment constuctor below). + InsetTableCell(InsetTableCell const & in) = default; /// InsetCode lyxCode() const { return CELL_CODE; } /// -- 2.39.5