Fix: the stream operator for values to optionals crashed

This commit is contained in:
eelke 2018-11-17 19:32:55 +01:00
parent 6313a5a918
commit f40b9e4c84

View file

@ -171,7 +171,7 @@ namespace Pgsql {
if (v.null())
s = std::optional<T>();
else
*s << v;
s = v.operator T();
}
template <typename T>