logic: Trim lines and remove empty ones when checking license key

This commit is contained in:
Eberhard Graether
2016-01-19 11:48:41 +01:00
parent cc2b74ccca
commit 46d9825454
6 changed files with 37 additions and 2 deletions
+1
View File
@@ -39,6 +39,7 @@ namespace utility
std::string replace(std::string str, const std::string& from, const std::string& to);
std::string trim(const std::string &str);
template <typename ContainerType>
ContainerType split(const std::string& str, const std::string& delimiter)