From 72ff79d76c7ec16ea1b95c72af0838f0e1150735 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sat, 17 Oct 2020 17:54:20 +0200 Subject: Handle Labels and Data --- asm/chunk.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'asm/chunk.h') 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 data): m_data(data) {} + Data(const std::vector& data): m_data(data) {} virtual ~Data(){} std::vector getCode() override -- cgit v1.2.3