mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
([NSUnarchiver +initialize]): Test self against NSUnarchiver class.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1482 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ffbdc162d3
commit
69b93a3648
1 changed files with 2 additions and 1 deletions
|
@ -139,7 +139,8 @@ static Class NSUnarchiver_concrete_class;
|
|||
|
||||
+ (void) initialize
|
||||
{
|
||||
NSUnarchiver_concrete_class = [NSGUnarchiver class];
|
||||
if (self == [NSUnarchiver class])
|
||||
NSUnarchiver_concrete_class = [NSGUnarchiver class];
|
||||
}
|
||||
|
||||
// Initializing an unarchiver
|
||||
|
|
Loading…
Reference in a new issue