Optimize toJson() Performance
[folly.git] / folly / Baton.h
index 6d4a7832dd6dc700436fcc96552e6fa33ff11f72..c10f7146465d536e32f6ff807dfc0e15b684b50f 100644 (file)
@@ -14,8 +14,7 @@
  * limitations under the License.
  */
 
-#ifndef FOLLY_BATON_H
-#define FOLLY_BATON_H
+#pragma once
 
 #include <stdint.h>
 #include <atomic>
@@ -24,6 +23,7 @@
 
 #include <folly/detail/Futex.h>
 #include <folly/detail/MemoryIdler.h>
+#include <folly/portability/Asm.h>
 
 namespace folly {
 
@@ -296,5 +296,3 @@ struct Baton {
 };
 
 } // namespace folly
-
-#endif