mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-28 11:10:51 +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
6687fc397a
commit
32b5f18ba1
1 changed files with 2 additions and 1 deletions
|
@ -139,7 +139,8 @@ static Class NSUnarchiver_concrete_class;
|
||||||
|
|
||||||
+ (void) initialize
|
+ (void) initialize
|
||||||
{
|
{
|
||||||
NSUnarchiver_concrete_class = [NSGUnarchiver class];
|
if (self == [NSUnarchiver class])
|
||||||
|
NSUnarchiver_concrete_class = [NSGUnarchiver class];
|
||||||
}
|
}
|
||||||
|
|
||||||
// Initializing an unarchiver
|
// Initializing an unarchiver
|
||||||
|
|
Loading…
Reference in a new issue