Mercurial > hg > octave-nkf
diff liboctave/DASPK.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/DASPK.cc +++ b/liboctave/DASPK.cc @@ -28,10 +28,11 @@ #include <cfloat> #include <cmath> +#include <sstream> + #include "DASPK.h" #include "f77-fcn.h" #include "lo-error.h" -#include "lo-sstream.h" #include "quit.h" typedef octave_idx_type (*daspk_fcn_ptr) (const double&, const double*, @@ -687,10 +688,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) {