From c8a643a9d7edada87afbc4b1535e7088920ea69d Mon Sep 17 00:00:00 2001 From: Adam Wulkiewicz Date: Tue, 18 Dec 2012 13:52:22 +0000 Subject: [PATCH] Rtree static parameters methods changed to static. [SVN r82079] --- .../geometry/extensions/index/rtree/options.hpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/include/boost/geometry/extensions/index/rtree/options.hpp b/include/boost/geometry/extensions/index/rtree/options.hpp index 0893f65c9..9fdded50c 100644 --- a/include/boost/geometry/extensions/index/rtree/options.hpp +++ b/include/boost/geometry/extensions/index/rtree/options.hpp @@ -56,8 +56,8 @@ struct linear static const size_t max_elements = MaxElements; static const size_t min_elements = MinElements; - size_t get_max_elements() const { return max_elements; } - size_t get_min_elements() const { return min_elements; } + static size_t get_max_elements() { return MaxElements; } + static size_t get_min_elements() { return MinElements; } }; /*! @@ -72,8 +72,8 @@ struct quadratic static const size_t max_elements = MaxElements; static const size_t min_elements = MinElements; - size_t get_max_elements() const { return max_elements; } - size_t get_min_elements() const { return min_elements; } + static size_t get_max_elements() { return MaxElements; } + static size_t get_min_elements() { return MinElements; } }; namespace options { namespace detail { @@ -108,10 +108,10 @@ struct rstar static const size_t overlap_cost_threshold = OverlapCostThreshold; static const size_t reinserted_elements = ReinsertedElements; - size_t get_max_elements() const { return max_elements; } - size_t get_min_elements() const { return min_elements; } - size_t get_overlap_cost_threshold() const { return overlap_cost_threshold; } - size_t get_reinserted_elements() const { return reinserted_elements; } + static size_t get_max_elements() { return MaxElements; } + static size_t get_min_elements() { return MinElements; } + static size_t get_overlap_cost_threshold() { return OverlapCostThreshold; } + static size_t get_reinserted_elements() { return ReinsertedElements; } }; namespace runtime {