X-Git-Url: https://git.sesse.net/?p=ccbs;a=blobdiff_plain;f=bigscreen%2Fwidestring.cpp;fp=bigscreen%2Fwidestring.cpp;h=a0d781a4edf5d22ded01667e4e84bc259c522670;hp=4b67ec7c2b168e158ccc90e1b90a7ad228d03256;hb=51e6903f55674443aad56235dcfb74f334c401e8;hpb=0b7e0d1e9e1c510618a6c20798adb822720eecdb diff --git a/bigscreen/widestring.cpp b/bigscreen/widestring.cpp index 4b67ec7..a0d781a 100644 --- a/bigscreen/widestring.cpp +++ b/bigscreen/widestring.cpp @@ -1,3 +1,5 @@ +#include +#include #include #include #include @@ -65,9 +67,13 @@ void widestring::operator= (const char *from) delete[] to_buf; } +namespace pqxx +{ + template<> -void pqxx::from_string(const char *from, widestring &to) +void from_string(const char *from, widestring &to) { to = from; } +}