[committed] libstdc++: Remove redundant parentheses in preprocessor condition

Jonathan Wakely jwakely@redhat.com
Wed Jun 11 21:39:28 GMT 2025


Also indent the group controlled by the condition.

libstdc++-v3/ChangeLog:

	* libsupc++/exception: Remove redundant parentheses and adjust
	whitespace.
---

Tested x86_64-linux. Pushed to trunk.

 libstdc++-v3/libsupc++/exception | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libstdc++-v3/libsupc++/exception b/libstdc++-v3/libsupc++/exception
index 246c9b185638..8c3bb33c831b 100644
--- a/libstdc++-v3/libsupc++/exception
+++ b/libstdc++-v3/libsupc++/exception
@@ -164,9 +164,9 @@ _GLIBCXX_END_NAMESPACE_VERSION
 
 } // extern "C++"
 
-#if (__cplusplus >= 201103L)
-#include <bits/exception_ptr.h>
-#include <bits/nested_exception.h>
+#if __cplusplus >= 201103L
+# include <bits/exception_ptr.h>
+# include <bits/nested_exception.h>
 #endif
 
 #endif
-- 
2.49.0



More information about the Libstdc++ mailing list