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

---
 secrets.hpp |   12 +++++-------
 1 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/secrets.hpp b/secrets.hpp
index b8e4925..6b77f17 100644
--- a/secrets.hpp
+++ b/secrets.hpp
@@ -1,13 +1,11 @@
 #pragma once
 
-#include <string>
-
-constexpr const char* HOST = "sytev070";
+#define HOST "sytev070"
 #ifdef TEST_EXCHANGE
-constexpr const char* PORT = "9005";
+#define PORT "9005"
 #else
-constexpr const char* PORT = "9000";
+#define PORT "9000"
 #endif
 
-constexpr const char* USER = "jgrunbau";
-constexpr const char* PASS = "b7d630945a0854581d9f86ba147f34a5";
+#define USER "jgrunbau"
+#define PASS "b7d630945a0854581d9f86ba147f34a5"

--
Gitblit v1.9.3