From 5d3ca3c4709d2fb8c06036a60559beb8fb69f3bc Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Tue, 20 Feb 2024 15:44:50 +0200 Subject: [PATCH] Refactoring. --- src/libs/vlayout/vposition.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libs/vlayout/vposition.cpp b/src/libs/vlayout/vposition.cpp index cd2cc0dd0..7cf0549d7 100644 --- a/src/libs/vlayout/vposition.cpp +++ b/src/libs/vlayout/vposition.cpp @@ -51,9 +51,9 @@ #include "../vmisc/def.h" #include "vpiecegrainline.h" +#ifdef LAYOUT_DEBUG namespace { -#ifdef LAYOUT_DEBUG //--------------------------------------------------------------------------------------------------------------------- QPainterPath ShowDirection(const QLineF &edge) { @@ -127,8 +127,8 @@ QPainterPath DumpDetails(const QVector &details) } return path; } -#endif } // anonymous namespace +#endif //--------------------------------------------------------------------------------------------------------------------- VPosition::VPosition(const VPositionData &data, std::atomic_bool *stop, bool saveLength)