Fix a typo in the workaround code for compilers without partial specialization.

[SVN r33104]
This commit is contained in:
Daniel James
2006-02-25 15:17:01 +00:00
parent 3382c46b6d
commit 6b0b4bb486

View File

@@ -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