mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 08:41:03 +00:00
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:
parent
098425e3e0
commit
7b485d9c07
8 changed files with 54 additions and 22 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue