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 --- json.hpp | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/json.hpp b/json.hpp index bfe2c50..e896869 100644 --- a/json.hpp +++ b/json.hpp @@ -82,7 +82,7 @@ std::chrono::nanoseconds expiry, double aggFee, double pasFee, double broFee, uint64_t sequence, double timestamp); - std::string as_string(); + std::string as_string(); }; struct SettleMessage : public FromExchange { @@ -92,7 +92,7 @@ SettleMessage(MessageTypes type, std::string product, std::string stationName, std::chrono::nanoseconds expiry, double price, uint64_t sequence, double timestamp); - std::string as_string(); + std::string as_string(); }; struct AddMessage : public ToExchange { @@ -110,10 +110,11 @@ double price; uint64_t filled; uint64_t resting; - std::string owner; + std::string owner; AddedMessage(MessageTypes type, std::string product, std::string id, book::OrderSideEnum side, double price, uint64_t filled, - uint64_t resting, std::string owner, uint64_t sequence, double timestamp); + uint64_t resting, std::string owner, uint64_t sequence, + double timestamp); std::string as_string(); }; -- Gitblit v1.9.3