diff liboctave/LSODE.cc @ 5765:7ba9ad1fec11

[project @ 2006-04-17 05:05:15 by jwe]
author jwe
date Mon, 17 Apr 2006 05:05:17 +0000
parents 87c9641d938f
children 93c65f2a5668
line wrap: on
line diff
--- a/liboctave/LSODE.cc	Sun Apr 16 19:10:01 2006 +0000
+++ b/liboctave/LSODE.cc	Mon Apr 17 05:05:17 2006 +0000
@@ -28,10 +28,11 @@
 #include <cfloat>
 #include <cmath>
 
+#include <sstream>
+
 #include "LSODE.h"
 #include "f77-fcn.h"
 #include "lo-error.h"
-#include "lo-sstream.h"
 #include "quit.h"
 
 typedef octave_idx_type (*lsode_fcn_ptr) (const octave_idx_type&, const double&, double*,
@@ -318,10 +319,9 @@
 {
   std::string retval;
 
-  OSSTREAM buf;
-  buf << t << OSSTREAM_ENDS;
-  std::string t_curr = OSSTREAM_STR (buf);
-  OSSTREAM_FREEZE (buf);
+  std::ostringstream buf;
+  buf << t;
+  std::string t_curr = buf.str ();
 
   switch (istate)
     {