mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +00:00
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:
parent
b892a6bc43
commit
e2eb27d76e
@ -69,26 +69,6 @@ using std::ostream;
|
|||||||
using std::ostringstream;
|
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)
|
Row & ParagraphMetrics::getRow(pos_type pos, bool boundary)
|
||||||
{
|
{
|
||||||
BOOST_ASSERT(!rows().empty());
|
BOOST_ASSERT(!rows().empty());
|
||||||
|
@ -64,9 +64,6 @@ public:
|
|||||||
/// (most probably in the \c CoordCache class along \c Point objects).
|
/// (most probably in the \c CoordCache class along \c Point objects).
|
||||||
class ParagraphMetrics {
|
class ParagraphMetrics {
|
||||||
public:
|
public:
|
||||||
ParagraphMetrics();
|
|
||||||
ParagraphMetrics(ParagraphMetrics const & pm);
|
|
||||||
ParagraphMetrics & operator=(ParagraphMetrics const & pm);
|
|
||||||
///
|
///
|
||||||
Row & getRow(pos_type pos, bool boundary);
|
Row & getRow(pos_type pos, bool boundary);
|
||||||
///
|
///
|
||||||
|
Loading…
Reference in New Issue
Block a user