diff options
Diffstat (limited to 'asm/chunk.h')
-rw-r--r-- | asm/chunk.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/asm/chunk.h b/asm/chunk.h index 723e711..cc45ea9 100644 --- a/asm/chunk.h +++ b/asm/chunk.h @@ -29,7 +29,7 @@ private: class Data: public Chunk { public: - Data(std::vector<uint8_t> data): m_data(data) {} + Data(const std::vector<uint8_t>& data): m_data(data) {} virtual ~Data(){} std::vector<uint8_t> getCode() override |