summaryrefslogtreecommitdiffstats
path: root/libdimensionxx/dimensionxx
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-04-20 04:02:15 +0000
committerTavian Barnes <tavianator@gmail.com>2009-04-20 04:02:15 +0000
commit4e2f7c8e8fdcdb1dbf6f2346e13f46f8ce3eca48 (patch)
treedc679317f6b432fc872422476922d05a8aaab388 /libdimensionxx/dimensionxx
parente15353792ff60640e55e8a97c7737e0338289f97 (diff)
downloaddimension-4e2f7c8e8fdcdb1dbf6f2346e13f46f8ce3eca48.tar.xz
Add tmpfile() implementation of FILE_Cookie.
Diffstat (limited to 'libdimensionxx/dimensionxx')
-rw-r--r--libdimensionxx/dimensionxx/cookie.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/libdimensionxx/dimensionxx/cookie.hpp b/libdimensionxx/dimensionxx/cookie.hpp
index a2a3324..df26b93 100644
--- a/libdimensionxx/dimensionxx/cookie.hpp
+++ b/libdimensionxx/dimensionxx/cookie.hpp
@@ -21,8 +21,7 @@
#ifndef DIMENSIONXX_COOKIE_HPP
#define DIMENSIONXX_COOKIE_HPP
-// Some internal magic to use C FILE* I/O with C++ streams. Currently this ties
-// us to Linux and glibc, but in the future, this will be portable.
+// Some internal magic to use C FILE* I/O with C++ streams.
#include <istream>
#include <ostream>
@@ -36,7 +35,7 @@ namespace Dimension
public:
FILE_Cookie(std::istream& istr);
FILE_Cookie(std::ostream& ostr);
- FILE_Cookie(std::istream& istr, std::ostream& ostr);
+ FILE_Cookie(std::iostream& iostr);
~FILE_Cookie();
FILE* file();