summaryrefslogtreecommitdiff
path: root/boost/geometry/algorithms/detail/occupation_info.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/geometry/algorithms/detail/occupation_info.hpp')
-rw-r--r--boost/geometry/algorithms/detail/occupation_info.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/boost/geometry/algorithms/detail/occupation_info.hpp b/boost/geometry/algorithms/detail/occupation_info.hpp
index d90f3cf7cf..002c946170 100644
--- a/boost/geometry/algorithms/detail/occupation_info.hpp
+++ b/boost/geometry/algorithms/detail/occupation_info.hpp
@@ -57,6 +57,12 @@ class occupation_info
public :
typedef std::vector<AngleInfo> collection_type;
+ int count;
+
+ inline occupation_info()
+ : count(0)
+ {}
+
template <typename RobustPoint>
inline void add(RobustPoint const& incoming_point,
RobustPoint const& outgoing_point,