Always storing MBID in lowercase to avoid silly duplicates
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user