diff --git a/src/Paragraph.cpp b/src/Paragraph.cpp index 103428a2d5..37e26a8b86 100644 --- a/src/Paragraph.cpp +++ b/src/Paragraph.cpp @@ -282,6 +282,10 @@ private: class Paragraph::Private { + // Enforce our own "copy" constructor by declaring the standard one and + // the assignment operator private without implementing them. + Private(Private const &); + Private & operator=(Private const &); public: /// Private(Paragraph * owner, Layout const & layout);