diff options
| author | Dennis Brentjes <d.brentjes@gmail.com> | 2021-01-25 23:23:04 +0100 |
|---|---|---|
| committer | Dennis Brentjes <d.brentjes@gmail.com> | 2021-01-25 23:23:04 +0100 |
| commit | 3cb35ec664734cfe04bf788b3a9c11402fd0f878 (patch) | |
| tree | eca552aab9a8cf6c7efd11830581fbc52855d9f1 /le/le_parse_util.hpp | |
| parent | 90c2782d0b78d64a19e7236c7dd6d8cc7a2e8396 (diff) | |
| download | openwar-3cb35ec664734cfe04bf788b3a9c11402fd0f878.tar.gz openwar-3cb35ec664734cfe04bf788b3a9c11402fd0f878.tar.bz2 openwar-3cb35ec664734cfe04bf788b3a9c11402fd0f878.zip | |
Fixes the build for c++20 and new version of boost
Diffstat (limited to 'le/le_parse_util.hpp')
| -rw-r--r-- | le/le_parse_util.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/le/le_parse_util.hpp b/le/le_parse_util.hpp index 77bcaf1..aea5e6e 100644 --- a/le/le_parse_util.hpp +++ b/le/le_parse_util.hpp @@ -11,4 +11,6 @@ std::vector<uint8_t> read_file_part(std::istream& is, std::streamsize offset, si std::vector<uint8_t> read_object(std::istream& is, le::File file, binparse::Value32 object_id); std::vector<uint8_t> relocate(le::File& file, std::vector<uint8_t> page, size_t index); -std::vector<uint8_t> load_binary(le::File file);
\ No newline at end of file +size_t determine_binary_size(le::File const& file); +std::vector<uint8_t> load_binary(le::File const& file); +void load_binary(le::File const& file, uint8_t* buffer, size_t buffer_size); |
