aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/Common.h3
-rw-r--r--src/common/Configuration/Config.cpp1
-rw-r--r--src/common/Cryptography/Authentication/SRP6.cpp3
3 files changed, 5 insertions, 2 deletions
diff --git a/src/common/Common.h b/src/common/Common.h
index 847b296d1a4..208809dcdfc 100644
--- a/src/common/Common.h
+++ b/src/common/Common.h
@@ -22,6 +22,9 @@
#include <array>
#include <string>
+using namespace std::string_literals;
+using namespace std::string_view_literals;
+
#define STRINGIZE(a) #a
enum TimeConstants
diff --git a/src/common/Configuration/Config.cpp b/src/common/Configuration/Config.cpp
index 62404ec7cad..0da4bd117a2 100644
--- a/src/common/Configuration/Config.cpp
+++ b/src/common/Configuration/Config.cpp
@@ -16,6 +16,7 @@
*/
#include "Config.h"
+#include "Common.h"
#include "Log.h"
#include "StringConvert.h"
#include <boost/filesystem/directory.hpp>
diff --git a/src/common/Cryptography/Authentication/SRP6.cpp b/src/common/Cryptography/Authentication/SRP6.cpp
index e015b8c33f6..25ed10de56a 100644
--- a/src/common/Cryptography/Authentication/SRP6.cpp
+++ b/src/common/Cryptography/Authentication/SRP6.cpp
@@ -16,14 +16,13 @@
*/
#include "SRP6.h"
+#include "Common.h"
#include "CryptoRandom.h"
#include <algorithm>
#include <functional>
namespace Trinity::Crypto::SRP
{
-using namespace std::string_literals;
-
BigNumber const GruntSRP6::N = "894B645E89E1535BBDAD5B8B290650530801B18EBFBF5E8FAB3C82872A3E9BB7"s;
BigNumber const GruntSRP6::g = 7;