changeset 20123:1663b82bd009

Stop "implicit instantiation of undefined template" error (bug #44818). * c-file-ptr-stream.h: #include <streambuf> rather than <iosfwd>. * procstream.h: #include <istream> and <ostream>, rather than <iosfwd>.
author Mike Miller <mtmiller@octave.org>
date Fri, 17 Apr 2015 14:12:32 -0700
parents 0cf104d3371f
children 93b3757a9623
files libinterp/corefcn/c-file-ptr-stream.h libinterp/corefcn/procstream.h
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/c-file-ptr-stream.h	Fri Apr 17 13:54:23 2015 -0700
+++ b/libinterp/corefcn/c-file-ptr-stream.h	Fri Apr 17 14:12:32 2015 -0700
@@ -25,7 +25,7 @@
 
 #include <cstdio>
 
-#include <iosfwd>
+#include <streambuf>
 
 class
 c_file_ptr_buf : public std::streambuf
--- a/libinterp/corefcn/procstream.h	Fri Apr 17 13:54:23 2015 -0700
+++ b/libinterp/corefcn/procstream.h	Fri Apr 17 14:12:32 2015 -0700
@@ -23,7 +23,8 @@
 #if !defined (octave_procstream_h)
 #define octave_procstream_h 1
 
-#include <iosfwd>
+#include <istream>
+#include <ostream>
 #include <string>
 
 #include <sys/types.h>