mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
Don't use 'Dictionary' methods
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3022 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e169446957
commit
6d0c6bad5e
1 changed files with 2 additions and 2 deletions
|
@ -2027,13 +2027,13 @@ static int messages_received_count;
|
|||
if (anObj)
|
||||
{
|
||||
[root_object_dictionary_gate lock];
|
||||
[root_object_dictionary putObject: anObj atKey: aPort];
|
||||
[root_object_dictionary setObject: Obj forKey: aPort];
|
||||
[root_object_dictionary_gate unlock];
|
||||
}
|
||||
else /* anObj == nil && oldRootObject != nil */
|
||||
{
|
||||
[root_object_dictionary_gate lock];
|
||||
[root_object_dictionary removeObjectAtKey: aPort];
|
||||
[root_object_dictionary removeObjectForKey: aPort];
|
||||
[root_object_dictionary_gate unlock];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue