From e13451f98fab003c4cb883075053f9fb09b5c3b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Sun, 12 Mar 2023 17:06:04 +0800 Subject: Not using pointers on products to avoid allocations --- interchange/ord.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'interchange') 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; }; -- cgit v1.2.3