Sqlite: A value std::string constructor

Change-Id: Ife68911bdafdf75e6cf39d46ae430c95d06bfba4
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Marco Bubke
2020-05-19 11:49:32 +02:00
committed by Tim Jenssen
parent 36711dab34
commit 7a274cc4aa

View File

@@ -245,6 +245,10 @@ public:
: ValueBase(VariantType{Utils::SmallString(value)})
{}
explicit Value(const std::string &value)
: ValueBase(VariantType{Utils::SmallString(value)})
{}
friend bool operator!=(const Value &first, const Value &second)
{
return !(first.value == second.value);