|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r82035 - sandbox-branches/geometry/index/boost/geometry/extensions/index
From: adam.wulkiewicz_at_[hidden]
Date: 2012-12-16 17:00:23
Author: awulkiew
Date: 2012-12-16 17:00:22 EST (Sun, 16 Dec 2012)
New Revision: 82035
URL: http://svn.boost.org/trac/boost/changeset/82035
Log:
static_vector size_t changed to std::size_t.
Text files modified:
sandbox-branches/geometry/index/boost/geometry/extensions/index/static_vector.hpp | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
Modified: sandbox-branches/geometry/index/boost/geometry/extensions/index/static_vector.hpp
==============================================================================
--- sandbox-branches/geometry/index/boost/geometry/extensions/index/static_vector.hpp (original)
+++ sandbox-branches/geometry/index/boost/geometry/extensions/index/static_vector.hpp 2012-12-16 17:00:22 EST (Sun, 16 Dec 2012)
@@ -6,6 +6,10 @@
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
+#ifndef BOOST_GEOMETRY_EXTENSIONS_INDEX_STATIC_VECTOR_HPP
+#define BOOST_GEOMETRY_EXTENSIONS_INDEX_STATIC_VECTOR_HPP
+
+#include <cstddef>
#include <stdexcept>
#include <boost/aligned_storage.hpp>
@@ -26,9 +30,6 @@
#include <boost/geometry/extensions/index/assert.hpp>
-#ifndef BOOST_GEOMETRY_EXTENSIONS_INDEX_STATIC_VECTOR_HPP
-#define BOOST_GEOMETRY_EXTENSIONS_INDEX_STATIC_VECTOR_HPP
-
namespace boost { namespace geometry { namespace index {
template <typename Value, size_t Capacity>
@@ -41,7 +42,7 @@
public:
typedef Value value_type;
- typedef size_t size_type;
+ typedef std::size_t size_type;
typedef Value& reference;
typedef Value const& const_reference;
typedef Value * pointer;
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