]> gcc.gnu.org Git - gcc.git/commitdiff
ios_base.h (Init::_S_initialized): Change into declaration.
authorCarlo Wood <carlo@alinoe.com>
Tue, 16 Dec 2003 00:15:24 +0000 (00:15 +0000)
committerCarlo Wood <carlo@gcc.gnu.org>
Tue, 16 Dec 2003 00:15:24 +0000 (00:15 +0000)
* include/bits/ios_base.h (Init::_S_initialized): Change into declaration.
* src/ios_init.cc (Init::_S_initialized): Add definition.

From-SVN: r74656

libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/ios_base.h
libstdc++-v3/src/ios_init.cc

index 70805f5bb7b97903c0cad78991b6068ae34506a4..5e560e0bc98047553e1a748ad94e602bcc1810c6 100644 (file)
@@ -1,3 +1,9 @@
+2003-12-15  Carlo Wood  <carlo@alinoe.com>
+
+       * include/bits/ios_base.h (Init::_S_initialized): Change into
+       declaration.
+       * src/ios_init.cc (Init::_S_initialized): Add definition.
+
 2003-12-15  Benjamin Kosnik  <bkoz@redhat.com>
 
        PR libstdc++/12658
index e2d3fbab62ec86684cb8ceaca2df24febd7e55ab..ee6405070f752aea9a0e1bd5f6784d1f9df571d7 100644 (file)
@@ -495,7 +495,7 @@ namespace std
       // NB: Allows debugger applications use of the standard streams
       // from operator new. 
       static bool
-      _S_initialized() { return _S_refcount > 0; }
+      _S_initialized();
 
     private:
       static _Atomic_word      _S_refcount;
index b40202553e53a4fd6795fec70df5f68068891476..4f8ab7bf324e8391c8363044e69ed143bb3a4965 100644 (file)
@@ -142,6 +142,12 @@ namespace std
       }
   } 
 
+  bool
+  ios_base::Init::_S_initialized()
+  {
+    return _S_refcount > 0;
+  }
+
   bool 
   ios_base::sync_with_stdio(bool __sync)
   { 
This page took 0.066877 seconds and 5 git commands to generate.