From 128c6d51ec8c70e230dc86b100cb887ba3f0378d Mon Sep 17 00:00:00 2001
From: Joel Grunbaum <joelgrun@gmail.com>
Date: Thu, 20 Jan 2022 07:00:50 +0000
Subject: [PATCH] Secrets to macros and c string concat at compile time

---
 book.hpp |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/book.hpp b/book.hpp
index 04de3a7..61a68d5 100644
--- a/book.hpp
+++ b/book.hpp
@@ -43,8 +43,8 @@
 std::ostream& operator<<(std::ostream& out, const Level& a);
 
 struct Book {
-	std::unordered_map<std::string, Level> bidSide;
-	std::unordered_map<std::string, Level> askSide;
+	std::vector<Level> bidSide;
+	std::vector<Level> askSide;
 	ProductTypeEnum productType;
 	std::string product;
 	int stationId;
@@ -53,6 +53,7 @@
 	double aggFee;
 	double pasFee;
 	double broFee;
+	double bomPrice;
 
 	Book();
 	Book(ProductTypeEnum productType, std::string product, int stationId,

--
Gitblit v1.9.3