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 | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/book.hpp b/book.hpp index 5d952a3..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; -- Gitblit v1.9.3