From 353657fa069326a4036f2c9872e420c85f44b4e9 Mon Sep 17 00:00:00 2001 From: Joel Grunbaum <joel.grunbaum@imc.com> Date: Wed, 12 Jan 2022 02:25:20 +0000 Subject: [PATCH] Added optimisation and test exchange selection in Makefile --- secrets.hpp | 14 ++++++-------- 1 files changed, 6 insertions(+), 8 deletions(-) diff --git a/secrets.hpp b/secrets.hpp index d9d7ae8..b8e4925 100644 --- a/secrets.hpp +++ b/secrets.hpp @@ -2,14 +2,12 @@ #include <string> -#define TEST - -constexpr const char* HOST="sytev070"; -#ifdef TEST -constexpr const char* PORT="9005"; +constexpr const char* HOST = "sytev070"; +#ifdef TEST_EXCHANGE +constexpr const char* PORT = "9005"; #else -constexpr const char* PORT="9000"; +constexpr const char* PORT = "9000"; #endif -constexpr const char* USER="jgrunbau"; -constexpr const char* PASS="b7d630945a0854581d9f86ba147f34a5"; +constexpr const char* USER = "jgrunbau"; +constexpr const char* PASS = "b7d630945a0854581d9f86ba147f34a5"; -- Gitblit v1.9.3