diff options
| author | Dennis Brentjes <d.brentjes@gmail.com> | 2016-06-19 22:30:07 +0200 |
|---|---|---|
| committer | Dennis Brentjes <d.brentjes@gmail.com> | 2016-06-19 22:30:07 +0200 |
| commit | dd8f1658c47db665481c725b9469408cf17e8c2e (patch) | |
| tree | 185d0354c57f717068e348b322482dd4f826b77d /binparse/binparse.hpp | |
| parent | de95ca22ec87cc8b79ceb7beba475301461713a6 (diff) | |
| download | openwar-dd8f1658c47db665481c725b9469408cf17e8c2e.tar.gz openwar-dd8f1658c47db665481c725b9469408cf17e8c2e.tar.bz2 openwar-dd8f1658c47db665481c725b9469408cf17e8c2e.zip | |
implements a LE file parser and bare outputter.
Diffstat (limited to 'binparse/binparse.hpp')
| -rw-r--r-- | binparse/binparse.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/binparse/binparse.hpp b/binparse/binparse.hpp index 5b21086..e649ce7 100644 --- a/binparse/binparse.hpp +++ b/binparse/binparse.hpp @@ -46,7 +46,7 @@ std::array<uint8_t, 8> parse<std::array<uint8_t, 8>>(std::istream& is, std::stri template<> std::array<uint8_t, 22> parse<std::array<uint8_t, 22>>(std::istream& is, std::string name); -void dump_bytes(std::istream& is, std::vector<uint8_t> buffer, std::string name); +void dump_bytes(std::istream& is, std::vector<uint8_t>& buffer, std::string name); std::string to_string(Magic16 magic); |
