diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-12 17:06:04 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-12 17:06:04 +0800 |
commit | e13451f98fab003c4cb883075053f9fb09b5c3b1 (patch) | |
tree | 9c4e51cfbed239912cdfc0b32ddbc12ad7c7ffee /interchange | |
parent | d3d334e4769e28e20be2041103ae87620f3f7c96 (diff) |
Not using pointers on products to avoid allocations
Diffstat (limited to 'interchange')
-rw-r--r-- | interchange/ord.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/interchange/ord.h b/interchange/ord.h index 2202243..d6ce999 100644 --- a/interchange/ord.h +++ b/interchange/ord.h @@ -4,7 +4,7 @@ #include "interchange/typedefs.h" struct interchange_ord_item { - struct interchange_product *product; + struct interchange_product product; unsigned int quantity; }; |