mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Profile2: fix some initializer list order warnings
Such can be disabled with -Wno-reorder and are clearly more of a nuisance, but C++98 12.6.2.5 says the order should be the same as in the class declaration. On theory this would only speed the compile times a tiny amount. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
b1d1c88822
commit
0325b267ee
3 changed files with 5 additions and 5 deletions
|
@ -64,10 +64,10 @@ QVariant RulerNodeItem2::itemChange(GraphicsItemChange change, const QVariant &v
|
|||
return QGraphicsEllipseItem::itemChange(change, value);
|
||||
}
|
||||
|
||||
RulerItem2::RulerItem2() : timeAxis(NULL),
|
||||
depthAxis(NULL),
|
||||
source(new RulerNodeItem2()),
|
||||
RulerItem2::RulerItem2() : source(new RulerNodeItem2()),
|
||||
dest(new RulerNodeItem2()),
|
||||
timeAxis(NULL),
|
||||
depthAxis(NULL),
|
||||
textItem(new QGraphicsSimpleTextItem(this))
|
||||
{
|
||||
memset(&pInfo, 0, sizeof(pInfo));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue