From e9c5505bf9c51c34dea703b86a293ff04475db54 Mon Sep 17 00:00:00 2001 From: KWSys Upstream Date: Tue, 28 Mar 2017 09:49:59 -0400 Subject: KWSys 2017-03-28 (34999b6a) Code extracted from: https://gitlab.kitware.com/utils/kwsys.git at commit 34999b6ab815d1456818f4517338a15be7f89ea0 (master). Upstream Shortlog ----------------- Daniel Pfeifer (1): 6f43bcef FStream: Make (i|o)fstream::is_open function public --- FStream.hxx.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/FStream.hxx.in b/FStream.hxx.in index cf331a5..d4bc6c9 100644 --- a/FStream.hxx.in +++ b/FStream.hxx.in @@ -170,8 +170,6 @@ template > class basic_ifstream : public std::basic_istream, public basic_efilebuf { - using basic_efilebuf::is_open; - public: typedef typename basic_efilebuf::internal_buffer_type internal_buffer_type; @@ -201,6 +199,8 @@ public: void close() { this->_set_state(this->_close(), this, this); } + using basic_efilebuf::is_open; + internal_buffer_type* rdbuf() const { return this->buf_; } ~basic_ifstream() @KWSYS_NAMESPACE@_FStream_NOEXCEPT { close(); } -- cgit v0.12