summaryrefslogtreecommitdiff
path: root/geography/merkaartor/patches/patch-src_Features_Feature.h
diff options
context:
space:
mode:
Diffstat (limited to 'geography/merkaartor/patches/patch-src_Features_Feature.h')
-rw-r--r--geography/merkaartor/patches/patch-src_Features_Feature.h31
1 files changed, 6 insertions, 25 deletions
diff --git a/geography/merkaartor/patches/patch-src_Features_Feature.h b/geography/merkaartor/patches/patch-src_Features_Feature.h
index 5f509e0b1cf..5f12ade28e9 100644
--- a/geography/merkaartor/patches/patch-src_Features_Feature.h
+++ b/geography/merkaartor/patches/patch-src_Features_Feature.h
@@ -1,32 +1,13 @@
-$NetBSD: patch-src_Features_Feature.h,v 1.1 2013/02/26 11:15:19 joerg Exp $
+$NetBSD: patch-src_Features_Feature.h,v 1.2 2020/09/02 00:24:26 gdt Exp $
--- src/Features/Feature.h.orig 2011-02-10 12:00:35.000000000 +0000
+++ src/Features/Feature.h
-@@ -9,6 +9,14 @@
+@@ -10,6 +10,7 @@ class Feature;
+
#include <QtCore/QString>
#include <QList>
-
-+class Feature;
-+
-+namespace boost
-+{
-+ void intrusive_ptr_add_ref(Feature * p);
-+ void intrusive_ptr_release(Feature * p);
-+}
-+
- #include <boost/intrusive_ptr.hpp>
++#include <QPainterPath>
#define CAST_FEATURE(x) (dynamic_cast<Feature*>(x))
-@@ -79,12 +87,6 @@ class RenderPriority
- int theLayer;
- };
-
--namespace boost
--{
-- void intrusive_ptr_add_ref(Feature * p);
-- void intrusive_ptr_release(Feature * p);
--}
--
- /// Used to store objects of the map
- class Feature : public IFeature
- {
+ #define CAST_NODE(x) (dynamic_cast<Node*>(x))
+