From 6926be56fe58e199673db158c4fee7ca7b140c8d Mon Sep 17 00:00:00 2001 From: Joel Grunbaum <joelgrun@gmail.com> Date: Sun, 09 Jan 2022 08:21:26 +0000 Subject: [PATCH] Fixed deletedOrder and send now returns packet --- book.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/book.cpp b/book.cpp index 4702e4d..ee014ed 100644 --- a/book.cpp +++ b/book.cpp @@ -142,7 +142,7 @@ { std::cout << "Sell side: " << this->askSide.size() << std::endl; std::vector<Level> askCopy(this->askSide); - int count = 0; + std::size_t count = 0; std::sort(askCopy.begin(), askCopy.end()); for (auto i = askCopy.rbegin(); i != askCopy.rend() && count < numOrders; i++, count++) { std::cout << *i << std::endl; -- Gitblit v1.9.3