From ce6d87998e11e00473f2241337f778f3be28d4c3 Mon Sep 17 00:00:00 2001 From: IGOZ <104662192+igozdev@users.noreply.github.com> Date: Sat, 7 Jan 2023 05:38:23 +0100 Subject: [PATCH] Update xorlit.hpp Removed invalid remnant CreateString function --- include/xorlit.hpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/include/xorlit.hpp b/include/xorlit.hpp index cf3f4cb..4440966 100644 --- a/include/xorlit.hpp +++ b/include/xorlit.hpp @@ -70,11 +70,6 @@ namespace xorlit char m_Data[Size]; }; - template - constexpr String CreateString(const char (&s)[Size]) - { - return String(s); - } template constexpr String CreateString(const char (&s)[Size], char key) { @@ -82,4 +77,4 @@ namespace xorlit } } -#define XORLITSTR(s) xorlit::CreateString(s, static_cast((xorlit::time + __LINE__ * 100000) % 255)).Xor() \ No newline at end of file +#define XORLITSTR(s) xorlit::CreateString(s, static_cast((xorlit::time + __LINE__ * 100000) % 255)).Xor()