summaryrefslogtreecommitdiffhomepage
path: root/asm/chunk.h
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-10-17 17:54:20 +0200
committerRoland Reichwein <mail@reichwein.it>2020-10-17 17:54:20 +0200
commit72ff79d76c7ec16ea1b95c72af0838f0e1150735 (patch)
tree88cd1f3aaf7138c685d89df470ccf7613eae4716 /asm/chunk.h
parent7b49d17f90f26394a116348befb5edcdffcedcb6 (diff)
Handle Labels and Data
Diffstat (limited to 'asm/chunk.h')
-rw-r--r--asm/chunk.h2
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