Merge in fix to hash example/documentation from 1.33 branch.

[SVN r30610]
This commit is contained in:
Daniel James
2005-08-20 20:44:23 +00:00
parent fcf0fb6ebb
commit d3c183186b
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -209,7 +209,7 @@ Say you have a point class, representing a two dimensional location:
bool operator==(point const& other) const
{
return x = other.x && y == other.y;
return x == other.x && y == other.y;
}
};