From b4f86cef9fef1b0cd11621109cf9a45a2dd3395a Mon Sep 17 00:00:00 2001 From: Sylvie Lamy-Thepaut Date: Tue, 28 Nov 2023 17:46:32 +0000 Subject: [PATCH] Adding Point and SegmentJoiner in the Magics namespace to avoid confusion with other definitions. --- src/visualisers/SegmentJoiner.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/visualisers/SegmentJoiner.h b/src/visualisers/SegmentJoiner.h index 9e7f901a9..10ff53014 100644 --- a/src/visualisers/SegmentJoiner.h +++ b/src/visualisers/SegmentJoiner.h @@ -23,6 +23,8 @@ using namespace std; +namespace magics { + struct Point { double x_; double y_; @@ -143,4 +145,6 @@ class SegmentJoiner { bool dirty_; }; +} + #endif