]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Fix diagnostic pragma push that should be pop
authorJonathan Wakely <jwakely@redhat.com>
Fri, 10 Dec 2021 09:06:37 +0000 (09:06 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Fri, 10 Dec 2021 09:06:37 +0000 (09:06 +0000)
libstdc++-v3/ChangeLog:

* include/bits/char_traits.h: Change pragma push to pop.

libstdc++-v3/include/bits/char_traits.h

index 3f7befcf8b2c8322675eaae88205235bf89013c7..132395806225d6c42368e7f26ab6eb852ad5008d 100644 (file)
@@ -995,7 +995,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
   } // namespace __detail
 #endif // C++20
 
-#pragma GCC diagnostic push
+#pragma GCC diagnostic pop
 
 _GLIBCXX_END_NAMESPACE_VERSION
 } // namespace