We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74981aa commit 8847ce4Copy full SHA for 8847ce4
src/util/readwritefile.cpp
@@ -3,6 +3,8 @@
3
// Distributed under the MIT software license, see the accompanying
4
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
5
6
+#include <util/readwritefile.h>
7
+
8
#include <fs.h>
9
10
#include <algorithm>
@@ -11,7 +13,7 @@
11
13
#include <string>
12
14
#include <utility>
15
-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)
17
{
18
FILE *f = fsbridge::fopen(filename, "rb");
19
if (f == nullptr)
0 commit comments