diff liboctave/DASRT.cc @ 5765:7ba9ad1fec11

[project @ 2006-04-17 05:05:15 by jwe]
author jwe
date Mon, 17 Apr 2006 05:05:17 +0000
parents 4c8a2e4e0717
children ace8d8d26933
line wrap: on
line diff
--- a/liboctave/DASRT.cc	Sun Apr 16 19:10:01 2006 +0000
+++ b/liboctave/DASRT.cc	Mon Apr 17 05:05:17 2006 +0000
@@ -28,10 +28,11 @@
 #include <cfloat>
 #include <cmath>
 
+#include <sstream>
+
 #include "DASRT.h"
 #include "f77-fcn.h"
 #include "lo-error.h"
-#include "lo-sstream.h"
 #include "quit.h"
 
 typedef octave_idx_type (*dasrt_fcn_ptr) (const double&, const double*, const double*,
@@ -565,10 +566,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)
     {