From 2d75b7944990f1ce80b3847be1f8dff09df82dad Mon Sep 17 00:00:00 2001 From: Victor Toofic <toofics@users.noreply.github.com> Date: ćšć, 20 5æ 2021 00:04:08 +0800 Subject: [PATCH] - use CMake PROJECT_DESCRIPTION var instead to be able to build with cmake < 3.8 (#118) --- src/library/base/base64.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/library/base/base64.h b/src/library/base/base64.h index f64c4cd..466a263 100644 --- a/src/library/base/base64.h +++ b/src/library/base/base64.h @@ -2,6 +2,7 @@ #define BASE64_H #include <string> +#include <vector> #if _WIN32 #include <wtypes.h> @@ -9,7 +10,7 @@ namespace license { -unsigned char* unbase64(const char* ascii, int len, int* flen); +std::vector<uint8_t> unbase64(const std::string& base64_data); std::string base64(const void* binaryData, size_t len, int lineLenght = -1); } // namespace license -- Gitblit v1.9.1