summaryrefslogtreecommitdiff
path: root/binparse/binparse.hpp
diff options
context:
space:
mode:
authorDennis Brentjes <d.brentjes@gmail.com>2016-06-19 22:30:07 +0200
committerDennis Brentjes <d.brentjes@gmail.com>2016-06-19 22:30:07 +0200
commitdd8f1658c47db665481c725b9469408cf17e8c2e (patch)
tree185d0354c57f717068e348b322482dd4f826b77d /binparse/binparse.hpp
parentde95ca22ec87cc8b79ceb7beba475301461713a6 (diff)
downloadopenwar-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.hpp2
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);