Index: test/Prefs.cpp |
diff --git a/test/Prefs.cpp b/test/Prefs.cpp |
index 545ab395a57dccd5be9c19029c40f3c9a5783ccf..a10878825128fe094686f4ff031579019696dda7 100644 |
--- a/test/Prefs.cpp |
+++ b/test/Prefs.cpp |
@@ -32,17 +32,16 @@ namespace |
: prefsContents(prefsContent) |
{ |
} |
- void Read(const std::string& fileName, const ReadCallback& callback) const override |
+ void Read(const std::string& fileName, const ReadCallback& callback, const Callback& errorCallback) const override |
{ |
- scheduler([this, fileName, callback] |
+ scheduler([this, fileName, callback, errorCallback] |
{ |
if (fileName == "prefs.json" && !prefsContents.empty()) |
{ |
- callback(IOBuffer(prefsContents.cbegin(), prefsContents.cend()), ""); |
+ callback(IOBuffer(prefsContents.cbegin(), prefsContents.cend())); |
return; |
} |
- |
- LazyFileSystem::Read(fileName, callback); |
+ LazyFileSystem::Read(fileName, callback, errorCallback); |
}); |
} |