]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/include/ext/numeric
PR libstdc++/36104 part four
[thirdparty/gcc.git] / libstdc++-v3 / include / ext / numeric
index 5df5ee2692c158ab156447cb22cef4dc562fa68f..d4a367fca52f849d3f09be393f7c8fbc078448a9 100644 (file)
@@ -63,7 +63,9 @@
 
 #include <ext/functional> // For identity_element
 
-_GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
+namespace __gnu_cxx _GLIBCXX_VISIBILITY(default)
+{
+_GLIBCXX_BEGIN_NAMESPACE_VERSION
 
   // Returns __x ** __n, where __n >= 0.  _Note that "multiplication"
   // is required to be associative, but not necessarily commutative.
@@ -140,7 +142,8 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
        *__first++ = __value++;
     }
 
-_GLIBCXX_END_NAMESPACE
+_GLIBCXX_END_NAMESPACE_VERSION
+} // namespace
 
 #endif