diff options
| author | ljfa-ag <ljfa-ag@web.de> | 2015-08-04 19:33:58 +0200 |
|---|---|---|
| committer | ljfa-ag <ljfa-ag@web.de> | 2015-08-04 19:33:58 +0200 |
| commit | 5f86fd9785b417aef6fec7a9f913bc4349d6c59b (patch) | |
| tree | 5989b60cbeb75f275220f40ef7c6bef3d2b31e50 /include/io/stream_reader.h | |
| parent | 47531478a60d979faf8d744d17c246c8e40a7d24 (diff) | |
| download | Project-Tick-5f86fd9785b417aef6fec7a9f913bc4349d6c59b.tar.gz Project-Tick-5f86fd9785b417aef6fec7a9f913bc4349d6c59b.zip | |
Add tests for stream_reader
Diffstat (limited to 'include/io/stream_reader.h')
| -rw-r--r-- | include/io/stream_reader.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/io/stream_reader.h b/include/io/stream_reader.h index 142402a516..659aacbd82 100644 --- a/include/io/stream_reader.h +++ b/include/io/stream_reader.h @@ -48,7 +48,7 @@ public: * @param e the byte order of the source data. The Java edition * of Minecraft uses Big Endian, the Pocket edition uses Little Endian */ - stream_reader(std::istream& is, endian::endian e = endian::big) noexcept; + explicit stream_reader(std::istream& is, endian::endian e = endian::big) noexcept; ///Returns the stream std::istream& get_istr() const; |
