Adjust to ObjFW changes
This commit is contained in:
parent
a0047e1b54
commit
415ff25bf2
1 changed files with 1 additions and 2 deletions
|
@ -57,8 +57,7 @@ static OFNumber *lengthField, *legacyField;
|
||||||
@"sites.msgpack"] retain];
|
@"sites.msgpack"] retain];
|
||||||
|
|
||||||
@try {
|
@try {
|
||||||
_storage = [[[OFDataArray
|
_storage = [[[OFData dataWithContentsOfFile: _path]
|
||||||
dataArrayWithContentsOfFile: _path]
|
|
||||||
messagePackValue] mutableCopy];
|
messagePackValue] mutableCopy];
|
||||||
} @catch (id e) {
|
} @catch (id e) {
|
||||||
_storage = [[OFMutableDictionary alloc] init];
|
_storage = [[OFMutableDictionary alloc] init];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue