diff options
author | carlo <carlo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-12-16 00:15:24 +0000 |
---|---|---|
committer | carlo <carlo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-12-16 00:15:24 +0000 |
commit | 0751f8fb34d1d8ab5b5f9e570f4790c96774439a (patch) | |
tree | 0762b4f131ddb3391758ea42c939b1b8f716a26b /libstdc++-v3/src/ios_init.cc | |
parent | 5fd677564abd66644128f2a25be4b23eddf6251d (diff) | |
download | gcc-0751f8fb34d1d8ab5b5f9e570f4790c96774439a.tar.gz |
* include/bits/ios_base.h (Init::_S_initialized): Change into declaration.
* src/ios_init.cc (Init::_S_initialized): Add definition.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74656 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/src/ios_init.cc')
-rw-r--r-- | libstdc++-v3/src/ios_init.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libstdc++-v3/src/ios_init.cc b/libstdc++-v3/src/ios_init.cc index b40202553e5..4f8ab7bf324 100644 --- a/libstdc++-v3/src/ios_init.cc +++ b/libstdc++-v3/src/ios_init.cc @@ -142,6 +142,12 @@ namespace std } } + bool + ios_base::Init::_S_initialized() + { + return _S_refcount > 0; + } + bool ios_base::sync_with_stdio(bool __sync) { |