]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/include/ext/iterator
PR libstdc++/36104 part four
[thirdparty/gcc.git] / libstdc++-v3 / include / ext / iterator
index 83b4b578acefbeddd430e73c6fa4d2d1a4079722..3e8f438ad3142ed1f73c52537839ea76b733e6db 100644 (file)
@@ -61,7 +61,9 @@
 #include <bits/concept_check.h>
 #include <iterator>
 
-_GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
+namespace __gnu_cxx _GLIBCXX_VISIBILITY(default)
+{
+_GLIBCXX_BEGIN_NAMESPACE_VERSION
 
   // There are two signatures for distance.  In addition to the one
   // taking two iterators and returning a result, there is another
@@ -107,7 +109,8 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
       __distance(__first, __last, __n, std::__iterator_category(__first));
     }
 
-_GLIBCXX_END_NAMESPACE
+_GLIBCXX_END_NAMESPACE_VERSION
+} // namespace
 
 #endif