summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/poco/files/patch-Data_include_Poco_Data_LOB.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/devel/poco/files/patch-Data_include_Poco_Data_LOB.h b/devel/poco/files/patch-Data_include_Poco_Data_LOB.h
new file mode 100644
index 000000000000..e893a18625b2
--- /dev/null
+++ b/devel/poco/files/patch-Data_include_Poco_Data_LOB.h
@@ -0,0 +1,14 @@
+--- Data/include/Poco/Data/LOB.h.orig 2022-10-31 17:44:34 UTC
++++ Data/include/Poco/Data/LOB.h
+@@ -63,8 +63,9 @@ class LOB (public)
+ {
+ }
+
+- LOB(const std::basic_string<T>& content):
+- _pContent(new std::vector<T>(content.begin(), content.end()))
++ template <typename TT, typename = std::enable_if_t<std::is_same<TT, char>::value>>
++ LOB(const std::basic_string<TT>& content):
++ _pContent(new std::vector<TT>(content.begin(), content.end()))
+ /// Creates a LOB from a string.
+ {
+ }