Added
Link Here
|
1 |
--- Data/include/Poco/Data/LOB.h.orig 2022-10-31 17:44:34 UTC |
2 |
+++ Data/include/Poco/Data/LOB.h |
3 |
@@ -63,8 +63,9 @@ class LOB (public) |
4 |
{ |
5 |
} |
6 |
|
7 |
- LOB(const std::basic_string<T>& content): |
8 |
- _pContent(new std::vector<T>(content.begin(), content.end())) |
9 |
+ template <typename TT, typename = std::enable_if_t<std::is_same<TT, char>::value>> |
10 |
+ LOB(const std::basic_string<TT>& content): |
11 |
+ _pContent(new std::vector<TT>(content.begin(), content.end())) |
12 |
/// Creates a LOB from a string. |
13 |
{ |
14 |
} |