]> git.sesse.net Git - ccbs/blobdiff - bigscreen/widestring.cpp
In RotateScreen destructor, do not leak subscreen surfaces.
[ccbs] / bigscreen / widestring.cpp
index 4b67ec7c2b168e158ccc90e1b90a7ad228d03256..241183650819a700b9bc36e48c49c5d16c561412 100644 (file)
@@ -1,3 +1,5 @@
+#include <stdlib.h>
+#include <cstring>
 #include <iconv.h>
 #include <endian.h>
 #include <exception>
@@ -64,10 +66,3 @@ void widestring::operator= (const char *from)
        free(from_buf);
        delete[] to_buf;
 }
-
-template<>
-void pqxx::from_string<widestring>(const char *from, widestring &to)
-{
-       to = from;
-}
-