Remove all use of stringstream in an attempt to fix
[dcpomatic.git] / src / tools / dcpomatic_server.cc
index a23e56ccde8af84d72f75ed24298dca1917a7764..4e9d5592dcdd875882c61f9aa6b0f886372ced1c 100644 (file)
@@ -191,9 +191,7 @@ private:
 
        void update_state ()
        {
-               SafeStringStream 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;