From 6b0b4bb486c086f8afb93ab5d8f2aca59f1be348 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Sat, 25 Feb 2006 15:17:01 +0000 Subject: [PATCH] Fix a typo in the workaround code for compilers without partial specialization. [SVN r33104] --- include/boost/functional/hash/hash.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/functional/hash/hash.hpp b/include/boost/functional/hash/hash.hpp index 30be81d..e1f01b7 100644 --- a/include/boost/functional/hash/hash.hpp +++ b/include/boost/functional/hash/hash.hpp @@ -425,7 +425,7 @@ namespace boost template struct inner { - static std::size_t call(Array& v) + static std::size_t call(Array const& v) { const int size = sizeof(v) / sizeof(*v); return boost::hash_range(v, v + size); @@ -469,7 +469,7 @@ namespace boost namespace hash_detail { template <> - struct hash_impl + struct hash_impl { template struct inner