mirror of
https://github.com/boostorg/functional.git
synced 2025-08-02 22:14:28 +02:00
Fix a typo in the workaround code for compilers without partial specialization.
[SVN r33104]
This commit is contained in:
@@ -425,7 +425,7 @@ namespace boost
|
|||||||
template <class Array>
|
template <class Array>
|
||||||
struct inner
|
struct inner
|
||||||
{
|
{
|
||||||
static std::size_t call(Array& v)
|
static std::size_t call(Array const& v)
|
||||||
{
|
{
|
||||||
const int size = sizeof(v) / sizeof(*v);
|
const int size = sizeof(v) / sizeof(*v);
|
||||||
return boost::hash_range(v, v + size);
|
return boost::hash_range(v, v + size);
|
||||||
@@ -469,7 +469,7 @@ namespace boost
|
|||||||
namespace hash_detail
|
namespace hash_detail
|
||||||
{
|
{
|
||||||
template <>
|
template <>
|
||||||
struct hash_impl<true>
|
struct hash_impl<false>
|
||||||
{
|
{
|
||||||
template <class T>
|
template <class T>
|
||||||
struct inner
|
struct inner
|
||||||
|
Reference in New Issue
Block a user