mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-24 06:28:54 +00:00
Correct compilation error
This commit is contained in:
parent
515b36475e
commit
7b3633f306
1 changed files with 2 additions and 1 deletions
|
@ -27,6 +27,7 @@
|
|||
Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
#import <Foundation/NSArchiver.h>
|
||||
#import <Foundation/NSArray.h>
|
||||
#import <Foundation/NSIndexPath.h>
|
||||
#import <Foundation/NSKeyedArchiver.h>
|
||||
|
@ -498,7 +499,7 @@
|
|||
|
||||
- (id) copyWithZone: (NSZone*)zone
|
||||
{
|
||||
NSData *data = [NSArchiver archiveDataWithRootObject: self];
|
||||
NSData *data = [NSArchiver archivedDataWithRootObject: self];
|
||||
id result = [NSUnarchiver unarchiveObjectWithData: data];
|
||||
return result;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue