summaryrefslogtreecommitdiff
path: root/geography/merkaartor/patches/patch-src_Features_Feature.h
blob: 5f509e0b1cfe7bda1b1c335cd86984856068eb02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
$NetBSD: patch-src_Features_Feature.h,v 1.1 2013/02/26 11:15:19 joerg Exp $

--- src/Features/Feature.h.orig	2011-02-10 12:00:35.000000000 +0000
+++ src/Features/Feature.h
@@ -9,6 +9,14 @@
 #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>
 
 #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
 {