|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r82079 - sandbox-branches/geometry/index/boost/geometry/extensions/index/rtree
From: adam.wulkiewicz_at_[hidden]
Date: 2012-12-18 08:52:23
Author: awulkiew
Date: 2012-12-18 08:52:22 EST (Tue, 18 Dec 2012)
New Revision: 82079
URL: http://svn.boost.org/trac/boost/changeset/82079
Log:
Rtree static parameters methods changed to static.
Text files modified:
sandbox-branches/geometry/index/boost/geometry/extensions/index/rtree/options.hpp | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
Modified: sandbox-branches/geometry/index/boost/geometry/extensions/index/rtree/options.hpp
==============================================================================
--- sandbox-branches/geometry/index/boost/geometry/extensions/index/rtree/options.hpp (original)
+++ sandbox-branches/geometry/index/boost/geometry/extensions/index/rtree/options.hpp 2012-12-18 08:52:22 EST (Tue, 18 Dec 2012)
@@ -56,8 +56,8 @@
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 @@
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 @@
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 {
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk