Always storing MBID in lowercase to avoid silly duplicates

This commit is contained in:
emeric
2020-03-23 18:06:39 +01:00
parent 5ab16ee821
commit a40c05ec6b
4 changed files with 22 additions and 5 deletions
+2 -1
View File
@@ -21,6 +21,7 @@
#include <optional>
#include <string>
#include <string_view>
#include <sstream>
#include <vector>
@@ -40,7 +41,7 @@ std::string
stringTrimEnd(const std::string& str, const std::string& whitespaces = " \t");
std::string
stringToLower(const std::string& str);
stringToLower(std::string_view str);
std::string
stringToUpper(const std::string& str);
+1 -1
View File
@@ -34,7 +34,7 @@ class UUID
std::string_view getAsString() const { return _value; }
private:
UUID(std::string_view value) : _value {value} {}
UUID(std::string_view value);
std::string _value;
};