folly: replace old-style header guards with "pragma once"
[folly.git] / folly / experimental / EventCount.h
index 8c9fde823682402159ae6e8a3856e829b2f2b401..e0f5a94d6975988ce885c264f0632a69e0d8062e 100644 (file)
@@ -14,8 +14,7 @@
  * limitations under the License.
  */
 
-#ifndef FOLLY_EXPERIMENTAL_EVENTCOUNT_H_
-#define FOLLY_EXPERIMENTAL_EVENTCOUNT_H_
+#pragma once
 
 #include <unistd.h>
 #include <syscall.h>
@@ -210,5 +209,3 @@ void EventCount::await(Condition condition) {
 }
 
 }  // namespace folly
-
-#endif /* FOLLY_EXPERIMENTAL_EVENTCOUNT_H_ */