Minor fixes

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2975 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 1998-09-10 04:48:50 +00:00
parent 098425e3e0
commit 7b485d9c07
8 changed files with 54 additions and 22 deletions

View file

@ -46,7 +46,7 @@
/* This is the designated initializer of this class */
- initWithCapacity: (unsigned)cap
{
_contents_hash = NSCreateHashTable(NSObjectsHashCallBacks, cap);
_contents_hash = NSCreateHashTable(NSObjectHashCallBacks, cap);
return self;
}
@ -64,7 +64,7 @@
- _initCollectionWithCoder: aCoder
{
[super _initCollectionWithCoder:aCoder];
_contents_hash = NSCreateHashTable(NSObjectsHashCallBacks,
_contents_hash = NSCreateHashTable(NSObjectHashCallBacks,
DEFAULT_SET_CAPACITY);
return self;
}
@ -74,7 +74,7 @@
{
Set *copy = [super emptyCopy];
copy->_contents_hash =
NSCreateHashTable (NSObjectsHashCallBacks, 0);
NSCreateHashTable (NSObjectHashCallBacks, 0);
return copy;
}