OSDN Git Service

2005-12-18 Benjamin Kosnik <bkoz@redhat.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / src / debug.cc
index 6f32fde..9dc73ae 100644 (file)
@@ -44,6 +44,8 @@ namespace __gnu_internal
   static __glibcxx_mutex_define_initialized(iterator_base_mutex);
 } // namespace __gnu_internal
 
+namespace std
+{
 namespace __gnu_debug
 {
   const char* _S_debug_messages[] = 
@@ -247,8 +249,8 @@ namespace __gnu_debug
   _Safe_iterator_base::
   _M_can_compare(const _Safe_iterator_base& __x) const
   {
-    return (!_M_singular() && !__x._M_singular() 
-           && _M_sequence == __x._M_sequence);
+    return (!_M_singular() 
+           && !__x._M_singular() && _M_sequence == __x._M_sequence);
   }
 
   void
@@ -668,3 +670,4 @@ namespace __gnu_debug
     _Error_formatter::_M_format_word(char*, int, const char*, 
                                     const char*) const;
 } // namespace __gnu_debug
+} // namespace std