removed some unnecessary vectors

This commit is contained in:
Henny022p
2021-11-30 04:28:49 +01:00
parent c498ec163e
commit 029ce60b3d
6 changed files with 51 additions and 62 deletions
+4 -2
View File
@@ -6,7 +6,9 @@
class Reader {
public:
Reader(const std::vector<char>& baserom, int start, int size_) : data(baserom.data() + start), size(size_) {
Reader(const std::vector<char>& baserom, int start, [[maybe_unused]]int size_)
: data(baserom.data() + start) //, size(size_)
{
}
[[nodiscard]] s8 read_s8() {
@@ -30,7 +32,7 @@ class Reader {
private:
const char* data;
const int size;
// const int size;
};
#endif