Remove all use of stringstream in an attempt to fix
[dcpomatic.git] / src / tools / dcpomatic_server.cc
index 08a04f35cda0e753b240c40dd87630ae0beda87a..4e9d5592dcdd875882c61f9aa6b0f886372ced1c 100644 (file)
@@ -191,9 +191,7 @@ private:
 
        void update_state ()
        {
 
        void update_state ()
        {
-               locked_stringstream s;
-               s << fixed << setprecision(1) << server_log->fps ();
-               _fps->SetLabel (std_to_wx (s.str()));
+               _fps->SetLabel (wxString::Format ("%.1f", server_log->fps()));
        }
 
        wxTextCtrl* _text;
        }
 
        wxTextCtrl* _text;