mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
Revert "Add a move constructor to Inset"
It does not compile :-p
This reverts commit 874928f4a4
.
This commit is contained in:
parent
874928f4a4
commit
1c200e0d99
@ -350,8 +350,8 @@ public:
|
|||||||
/// Appends a potentially abbreviated version of the inset to
|
/// Appends a potentially abbreviated version of the inset to
|
||||||
/// \param str. Intended for use by the TOC.
|
/// \param str. Intended for use by the TOC.
|
||||||
virtual void forOutliner(docstring & str,
|
virtual void forOutliner(docstring & str,
|
||||||
size_t const maxlen = TOC_ENTRY_LENGTH,
|
size_t const maxlen = TOC_ENTRY_LENGTH,
|
||||||
bool const shorten = true) const;
|
bool const shorten = true) const;
|
||||||
|
|
||||||
/// Can a cursor be put in there ?
|
/// Can a cursor be put in there ?
|
||||||
/// Forced to false for insets that have hidden contents, like
|
/// Forced to false for insets that have hidden contents, like
|
||||||
@ -631,8 +631,7 @@ public:
|
|||||||
protected:
|
protected:
|
||||||
/// Constructors
|
/// Constructors
|
||||||
Inset(Buffer * buf) : buffer_(buf) {}
|
Inset(Buffer * buf) : buffer_(buf) {}
|
||||||
Inset(Inset const &) : buffer_(nullptr) {}
|
Inset(Inset const &) : buffer_(0) {}
|
||||||
Inset(Inset const &&) : buffer_(nullptr) {}
|
|
||||||
|
|
||||||
/// replicate ourselves
|
/// replicate ourselves
|
||||||
friend class InsetList;
|
friend class InsetList;
|
||||||
|
Loading…
Reference in New Issue
Block a user