Refer to nullptr not NULL
[folly.git] / folly / CppAttributes.h
index 6f75b8ac4e062cf6ea2d73dcb34fcd74e6c91503..752a82dd7911f743409f7794e34f989a33e9fb0f 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2015 Facebook, Inc.
+ * Copyright 2017 Facebook, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -20,8 +20,7 @@
  * @author Dominik Gabi
  */
 
-#ifndef FOLLY_BASE_ATTRIBUTES_H_
-#define FOLLY_BASE_ATTRIBUTES_H_
+#pragma once
 
 #ifndef __has_cpp_attribute
 #define FOLLY_HAS_CPP_ATTRIBUTE(x) 0
@@ -76,5 +75,3 @@
 #else
 #define FOLLY_NULLABLE
 #endif
-
-#endif /* FOLLY_BASE_ATTRIBUTES_H_ */