Let the compiler generate default constructor, copy constructor and

assignment operator


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16354 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Georg Baum 2006-12-21 08:46:32 +00:00
parent b892a6bc43
commit e2eb27d76e
2 changed files with 0 additions and 23 deletions

View File

@ -69,26 +69,6 @@ using std::ostream;
using std::ostringstream;
ParagraphMetrics::ParagraphMetrics()
{
}
ParagraphMetrics::ParagraphMetrics(ParagraphMetrics const & pm)
: dim_(pm.dim_), rows_(pm.rows_), rowSignature_(pm.rowSignature_)
{
}
ParagraphMetrics & ParagraphMetrics::operator=(ParagraphMetrics const & pm)
{
rows_ = pm.rows_;
dim_ = pm.dim_;
rowSignature_ = pm.rowSignature_;
return *this;
}
Row & ParagraphMetrics::getRow(pos_type pos, bool boundary)
{
BOOST_ASSERT(!rows().empty());

View File

@ -64,9 +64,6 @@ public:
/// (most probably in the \c CoordCache class along \c Point objects).
class ParagraphMetrics {
public:
ParagraphMetrics();
ParagraphMetrics(ParagraphMetrics const & pm);
ParagraphMetrics & operator=(ParagraphMetrics const & pm);
///
Row & getRow(pos_type pos, bool boundary);
///