libstdc++: Fix -Wdeprecated-declarations warning for Parallel Mode [PR116944]
commit7754a8b7b4978ad82aef3ad456c5f60460b47393
authorJonathan Wakely <jwakely@redhat.com>
Thu, 3 Oct 2024 10:03:41 +0000 (3 11:03 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 3 Oct 2024 11:29:55 +0000 (3 12:29 +0100)
treee8f7df07a2df93024d0d1da0b9488b8c6a83867e
parent28911f626864e73c579ea2ad5f5308d2e8c3fcd9
libstdc++: Fix -Wdeprecated-declarations warning for Parallel Mode [PR116944]

The pragmas to disable warnings need to be moved before the first use of
the deprecated classes.

libstdc++-v3/ChangeLog:

PR libstdc++/116944
* include/parallel/base.h: Move diagnostic pragmas earlier.
libstdc++-v3/include/parallel/base.h