folly: fix make_optional compliation issue with gnu++17
[folly.git] / folly / TimeoutQueue.h
index abea245812558fd61e187c9ea345697da7b7f05b..9b90328fef459f324327080d547cc2bb1b46583b 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2017 Facebook, Inc.
+ * Copyright 2011-present Facebook, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
 
 #pragma once
 
-#include <stdint.h>
+#include <cstdint>
 #include <functional>
-#include <boost/multi_index_container.hpp>
+
 #include <boost/multi_index/indexed_by.hpp>
-#include <boost/multi_index/ordered_index.hpp>
 #include <boost/multi_index/member.hpp>
+#include <boost/multi_index/ordered_index.hpp>
+#include <boost/multi_index_container.hpp>
 
 namespace folly {
 
@@ -125,4 +126,4 @@ class TimeoutQueue {
   Id nextId_;
 };
 
-}  // namespace folly
+} // namespace folly