apply clang-tidy modernize-use-override
[folly.git] / folly / small_vector.h
index 12eba17f76ea3effee4c62e576460824b0ea1228..f9c8067d7ff5949b1120adc6b2f9fb6d88710d13 100644 (file)
@@ -55,8 +55,8 @@
 #include <folly/portability/TypeTraits.h>
 
 // Ignore shadowing warnings within this file, so includers can use -Wshadow.
-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wshadow"
+FOLLY_PUSH_WARNING
+FOLLY_GCC_DISABLE_WARNING("-Wshadow")
 
 namespace folly {
 
@@ -1146,4 +1146,4 @@ struct IndexableTraits<small_vector<T, M, A, B, C>>
 
 }  // namespace folly
 
-#pragma GCC diagnostic pop
+FOLLY_POP_WARNING