Make folly::getCurrentThreadId() return a thread ID on OSX
[folly.git] / folly / Likely.h
index 128673666241b6e1ca82cf7e284adc543cf88d76..5c7da5e48859dd6a4d4ca0668b4d84ee64f73cee 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.
@@ -21,8 +21,7 @@
  * @author Tudor Bosman (tudorb@fb.com)
  */
 
-#ifndef FOLLY_BASE_LIKELY_H_
-#define FOLLY_BASE_LIKELY_H_
+#pragma once
 
 #undef LIKELY
 #undef UNLIKELY
@@ -34,5 +33,3 @@
 #define LIKELY(x)   (x)
 #define UNLIKELY(x) (x)
 #endif
-
-#endif /* FOLLY_BASE_LIKELY_H_ */