From 5af8d5f1b3750933b0acf012578939d9683600a3 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Tue, 15 May 2007 19:54:42 +0000 Subject: [PATCH] Fix a couple of typos in the hash documentation. [SVN r37697] --- hash/doc/tutorial.qbk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hash/doc/tutorial.qbk b/hash/doc/tutorial.qbk index cf17c7a..e30a181 100644 --- a/hash/doc/tutorial.qbk +++ b/hash/doc/tutorial.qbk @@ -1,5 +1,5 @@ -[/ Copyright 2005-2006 Daniel James. +[/ Copyright 2005-2007 Daniel James. / Distributed under the Boost Software License, Version 1.0. (See accompanying / file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) ] @@ -119,7 +119,7 @@ When writing a hash function, first look at how the equality function works. Objects that are equal must generate the same hash value. When objects are not equal they should generate different hash values. In this object equality was based just on the id so the hash function -only hash the id. If it was based on the objects name and author +only hashes the id. If it was based on the object's name and author then the hash function should take them into account (how to do this is discussed in the next section). ]