summaryrefslogtreecommitdiff
path: root/interchange
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-06-14 20:20:10 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-06-14 20:20:10 +0800
commitca179a4b0ed27a240bd3144a01e3c7ec13f75389 (patch)
treea2e7c3835399e2b0fc85ed05adc452a14bafdbe4 /interchange
parent3ff893e478ca7c9355b273fce943cc011b292010 (diff)
Ord is back constructed using pointers again
so we can use C fake OOP with it.
Diffstat (limited to 'interchange')
-rw-r--r--interchange/ord.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/interchange/ord.hxx b/interchange/ord.hxx
index 83fcce9..7728085 100644
--- a/interchange/ord.hxx
+++ b/interchange/ord.hxx
@@ -36,7 +36,7 @@ namespace QInterchange {
Q_PROPERTY(double totalCost READ totalCost NOTIFY totalCostChanged)
public:
- explicit Ord(struct interchange_ord_order order,
+ explicit Ord(struct interchange_ord_order *order,
QObject* parent = nullptr);
~Ord() {}
int rowCount(QModelIndex const& parent = QModelIndex()) const Q_DECL_OVERRIDE;