mirror of
https://github.com/boostorg/geometry.git
synced 2026-02-11 11:52:11 +00:00
Some VS warnings fixed.
[SVN r81923]
This commit is contained in:
@@ -301,7 +301,10 @@ template <size_t Corner>
|
||||
struct partial_sort<Corner, 1>
|
||||
{
|
||||
template <typename Elements, typename Translator>
|
||||
static inline void apply(Elements & elements, const size_t axis, const size_t index, Translator const& tr)
|
||||
static inline void apply(Elements & elements,
|
||||
const size_t BOOST_GEOMETRY_INDEX_ASSERT_UNUSED_PARAM(axis),
|
||||
const size_t index,
|
||||
Translator const& tr)
|
||||
{
|
||||
BOOST_GEOMETRY_INDEX_ASSERT(axis == 0, "unexpected axis value");
|
||||
|
||||
|
||||
@@ -7,9 +7,10 @@
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#include <boost/aligned_storage.hpp>
|
||||
#include <boost/assert.hpp>
|
||||
#include <boost/iterator/reverse_iterator.hpp>
|
||||
|
||||
#include <boost/geometry/extensions/index/assert.hpp>
|
||||
|
||||
#ifndef BOOST_GEOMETRY_EXTENSIONS_INDEX_STATIC_VECTOR_HPP
|
||||
#define BOOST_GEOMETRY_EXTENSIONS_INDEX_STATIC_VECTOR_HPP
|
||||
|
||||
@@ -109,7 +110,7 @@ public:
|
||||
}
|
||||
|
||||
// nothrow
|
||||
void reserve(size_type s)
|
||||
void reserve(size_type BOOST_GEOMETRY_INDEX_ASSERT_UNUSED_PARAM(s))
|
||||
{
|
||||
BOOST_ASSERT_MSG(s <= Capacity, "max capacity reached");
|
||||
}
|
||||
|
||||
@@ -274,7 +274,6 @@ struct def< counting_value<Indexable> >
|
||||
bool equals(value_type const& v1, value_type const& v2) const
|
||||
{
|
||||
return boost::geometry::equals(v1.indexable, v2.indexable);
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user