Revert part of previous.
[dcpomatic.git] / src / lib / compose.hpp
index eb0291e424753df3e9d0875a3b7050b04a341a30..8ccd12b503556c834760e1afcf636fb989cbb4f2 100644 (file)
@@ -203,7 +203,7 @@ namespace StringPrivate
   }
 
   template <>
-  inline void write(std::string& s, wchar_t[] const & obj)
+  inline void write(std::string& s, wchar_t const & obj)
   {
     std::wstring ws (&obj);
     std::string w (ws.begin(), ws.end());