folly: replace old-style header guards with "pragma once"
[folly.git] / folly / Optional.h
index 2e04e332d0f55f6d15f8710764af0baf4385f9c1..6fc07b98f47e204f2f5501cca717087b7c5608a1 100644 (file)
@@ -14,8 +14,7 @@
  * limitations under the License.
  */
 
-#ifndef FOLLY_OPTIONAL_H_
-#define FOLLY_OPTIONAL_H_
+#pragma once
 
 /*
  * Optional - For conditional initialization of values, like boost::optional,
@@ -406,5 +405,3 @@ template<class V> bool operator> (const V& other, const Optional<V>&) = delete;
 ///////////////////////////////////////////////////////////////////////////////
 
 } // namespace folly
-
-#endif // FOLLY_OPTIONAL_H_