From 2a8e696d53ec3b6d66b4c4018c437db6bb87555a Mon Sep 17 00:00:00 2001 From: Serhii Hadzhilov Date: Thu, 24 Sep 2020 22:27:35 +0300 Subject: [PATCH] Test code cleanup --- src/lib/shared/SerialKey.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/lib/shared/SerialKey.cpp b/src/lib/shared/SerialKey.cpp index 26692a956..95db7b17e 100644 --- a/src/lib/shared/SerialKey.cpp +++ b/src/lib/shared/SerialKey.cpp @@ -25,10 +25,8 @@ #include #include #include -#include using namespace std; -static std::string hexEncode (std::string const& str); SerialKey::SerialKey(Edition edition): m_userLimit(1), @@ -37,9 +35,6 @@ SerialKey::SerialKey(Edition edition): m_edition(edition), m_KeyType() { - std::string MyLicense = "{v2;temp;basic;Bob;1;email;company name;1600972418;1600992418}"; - std::string Hex = hexEncode(MyLicense); - std::cout<<"MyLicense = "<(currentTime); - if ((m_warnTime >= currentTimeAsLL) && (currentTimeAsLL < m_expireTime)) { + if ((m_warnTime <= currentTimeAsLL) && (currentTimeAsLL < m_expireTime)) { result = true; } }