diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-06-15 18:08:35 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-06-15 18:08:35 +0800 |
commit | d0a8570fd5c46ad2cab21af0b8f5a299bcbc1792 (patch) | |
tree | a279d6903340ce0d3c7ab165a2fbd9ae7d73b5d8 /interchange/ord.hxx | |
parent | ca179a4b0ed27a240bd3144a01e3c7ec13f75389 (diff) |
Product is back constructed using pointers
so that Item can easily subclass from Product later.
Diffstat (limited to 'interchange/ord.hxx')
-rw-r--r-- | interchange/ord.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/interchange/ord.hxx b/interchange/ord.hxx index 7728085..34ff202 100644 --- a/interchange/ord.hxx +++ b/interchange/ord.hxx @@ -15,7 +15,7 @@ namespace QInterchange { NameRole }; Item(interchange_ord_item item) : - product{item.product}, + product{&item.product}, quantity{item.quantity}, name{item.name} {} Product product; |