Use std::vector in the CacheLocalityBenchmark rather than a VLA
[folly.git] / folly / SafeAssert.h
index 65d2e9f9df3af809971a4ce15683a647c44f00d7..39d07423dcb97f760c7d0a5a7dd2da8c67e030b6 100644 (file)
@@ -14,8 +14,7 @@
  * limitations under the License.
  */
 
-#ifndef FOLLY_SAFEASSERT_H_
-#define FOLLY_SAFEASSERT_H_
+#pragma once
 
 #include <folly/Portability.h>
 #include <folly/Preprocessor.h>
@@ -50,5 +49,3 @@ namespace folly { namespace detail {
     unsigned int line,
     const char* function);
 }}  // namespace folly
-
-#endif /* FOLLY_SAFEASSERT_H_ */