From: Jonathan Wakely Date: Tue, 20 Aug 2024 10:54:25 +0000 (+0100) Subject: libstdc++: Remove redundant reclaration of std::optional X-Git-Tag: basepoints/gcc-16~6502 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d5193f0734fb4706940f7ac79899da25250be9d;p=thirdparty%2Fgcc.git libstdc++: Remove redundant reclaration of std::optional We've already declared optional at the top of the header, so don't need to do it again. libstdc++-v3/ChangeLog: * include/std/optional: Remove redundant redeclaration. --- diff --git a/libstdc++-v3/include/std/optional b/libstdc++-v3/include/std/optional index 2c4cc260f90..6651686cd1d 100644 --- a/libstdc++-v3/include/std/optional +++ b/libstdc++-v3/include/std/optional @@ -741,9 +741,6 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION }; #endif // __cpp_concepts - template - class optional; - template inline constexpr bool __is_optional_v = false; template