Skip to content

Commit 8847ce4

Browse files
committed
util: add missing include and fix function signature
1 parent 74981aa commit 8847ce4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/util/readwritefile.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
// Distributed under the MIT software license, see the accompanying
44
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
55

6+
#include <util/readwritefile.h>
7+
68
#include <fs.h>
79

810
#include <algorithm>
@@ -11,7 +13,7 @@
1113
#include <string>
1214
#include <utility>
1315

14-
std::pair<bool,std::string> ReadBinaryFile(const fs::path &filename, size_t maxsize=std::numeric_limits<size_t>::max())
16+
std::pair<bool,std::string> ReadBinaryFile(const fs::path &filename, size_t maxsize)
1517
{
1618
FILE *f = fsbridge::fopen(filename, "rb");
1719
if (f == nullptr)

0 commit comments

Comments
 (0)