Add FOLLY_NODISCARD for [[nodiscard]] attribute when it exists, FOLLY_WARN_UNUSED_RES...
[folly.git] / folly / Lazy.h
index bca89d9ab529d1ce484dcd5980f80b1a51d78c9c..786f51c6ac0e9b3807b77b6430f25aeb8509dd6e 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.
@@ -13,8 +13,8 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-#ifndef FOLLY_LAZY_H_
-#define FOLLY_LAZY_H_
+
+#pragma once
 
 #include <utility>
 #include <type_traits>
@@ -131,5 +131,3 @@ lazy(Func&& fun) {
 //////////////////////////////////////////////////////////////////////
 
 }
-
-#endif