Mercurial > octave-nkf
diff src/ls-mat-ascii.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/src/ls-mat-ascii.cc Sun Apr 16 19:10:01 2006 +0000 +++ b/src/ls-mat-ascii.cc Mon Apr 17 05:05:17 2006 +0000 @@ -32,6 +32,7 @@ #include <fstream> #include <iomanip> #include <iostream> +#include <sstream> #include <string> #include "byte-swap.h" @@ -39,7 +40,6 @@ #include "file-ops.h" #include "glob-match.h" #include "lo-mappers.h" -#include "lo-sstream.h" #include "mach-info.h" #include "oct-env.h" #include "oct-time.h" @@ -251,11 +251,7 @@ { std::string buf = get_mat_data_input_line (is); -#ifdef HAVE_SSTREAM std::istringstream tmp_stream (buf); -#else - std::istrstream tmp_stream (buf.c_str ()); -#endif for (octave_idx_type j = 0; j < nc; j++) {