Rename SafeStringStream -> locked_stringstream. Bump deps for removal of stringstream.
[dcpomatic.git] / src / lib / internet.cc
index 5a909e470088470e558a4c0461ce5889dcf96f9e..c0a29bfbdf13cfbc52d93b2e9f1d997fe247832d 100644 (file)
@@ -20,8 +20,8 @@
 
 #include "scoped_temporary.h"
 #include "compose.hpp"
 
 #include "scoped_temporary.h"
 #include "compose.hpp"
-#include "safe_stringstream.h"
 #include "exceptions.h"
 #include "exceptions.h"
+#include <locked_sstream.h>
 #include <curl/curl.h>
 #include <zip.h>
 #include <boost/function.hpp>
 #include <curl/curl.h>
 #include <zip.h>
 #include <boost/function.hpp>
@@ -149,7 +149,7 @@ ftp_ls (string url, bool pasv)
                throw NetworkError (curl_easy_strerror (r));
        }
 
                throw NetworkError (curl_easy_strerror (r));
        }
 
-       SafeStringStream s (ls_raw);
+       locked_stringstream s (ls_raw);
        list<string> ls;
        while (s.good ()) {
                string line = s.getline ();
        list<string> ls;
        while (s.good ()) {
                string line = s.getline ();