Fix the build with success()
Co-Authored-By: A.J. Beamon <ajbeamon@users.noreply.github.com>
This commit is contained in:
parent
ac52b6b474
commit
1f56bf8933
|
@ -176,7 +176,7 @@ ACTOR static Future<Void> readEntireFile( std::string filename, std::string* des
|
|||
throw file_too_large();
|
||||
}
|
||||
destination->resize(filesize);
|
||||
wait(file->read(const_cast<char*>(destination->c_str()), filesize, 0));
|
||||
wait(success(file->read(const_cast<char*>(destination->c_str()), filesize, 0)));
|
||||
return Void();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue