From 93d973bf2198fb92fb9d4e740a41f20993774944 Mon Sep 17 00:00:00 2001 From: CPunch Date: Thu, 20 Aug 2020 11:37:47 -0500 Subject: [PATCH] small CNStructs.hpp refactor --- src/CNStructs.hpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/CNStructs.hpp b/src/CNStructs.hpp index fc6a785..3c6bfdd 100644 --- a/src/CNStructs.hpp +++ b/src/CNStructs.hpp @@ -22,16 +22,12 @@ // TODO: rewrite U16toU8 & U8toU16 to not use codecvt std::string U16toU8(char16_t* src); - -// returns number of char16_t that was written at des -int U8toU16(std::string src, char16_t* des); - +int U8toU16(std::string src, char16_t* des); // returns number of char16_t that was written at des uint64_t getTime(); //#define CNPROTO_VERSION_0728 #define CNPROTO_VERSION_0104 -// ========================================================[[ beta-20100104 ]]======================================================== #if defined(CNPROTO_VERSION_0104) #include "structs/0104.hpp" #elif defined(CNPROTO_VERSION_0728)