Refactoring.

This commit is contained in:
Roman Telezhynskyi 2024-02-20 15:44:50 +02:00
parent 72893d4d40
commit 5d3ca3c470

View File

@ -51,9 +51,9 @@
#include "../vmisc/def.h" #include "../vmisc/def.h"
#include "vpiecegrainline.h" #include "vpiecegrainline.h"
#ifdef LAYOUT_DEBUG
namespace namespace
{ {
#ifdef LAYOUT_DEBUG
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------
QPainterPath ShowDirection(const QLineF &edge) QPainterPath ShowDirection(const QLineF &edge)
{ {
@ -127,8 +127,8 @@ QPainterPath DumpDetails(const QVector<VLayoutPiece> &details)
} }
return path; return path;
} }
#endif
} // anonymous namespace } // anonymous namespace
#endif
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------
VPosition::VPosition(const VPositionData &data, std::atomic_bool *stop, bool saveLength) VPosition::VPosition(const VPositionData &data, std::atomic_bool *stop, bool saveLength)