projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move the traits factories up, and remove <boost/mpl/has_xxx.hpp>
[folly.git]
/
folly
/
AtomicUnorderedMap.h
diff --git
a/folly/AtomicUnorderedMap.h
b/folly/AtomicUnorderedMap.h
index eb361144bb35758e2093613f1a7ab235dbb309b4..5dc5d88f6aa0899bbfd40b1229ae75cea37c62d6 100644
(file)
--- a/
folly/AtomicUnorderedMap.h
+++ b/
folly/AtomicUnorderedMap.h
@@
-13,8
+13,8
@@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-#ifndef FOLLY_ATOMICUNORDEREDMAP_H
-#
define FOLLY_ATOMICUNORDEREDMAP_H
+
+#
pragma once
#include <atomic>
#include <functional>
#include <atomic>
#include <functional>
@@
-22,13
+22,15
@@
#include <system_error>
#include <type_traits>
#include <stdint.h>
#include <system_error>
#include <type_traits>
#include <stdint.h>
-#include <unistd.h>
-#include <sys/mman.h>
-#include <folly/Likely.h>
+
#include <folly/Bits.h>
#include <folly/Conv.h>
#include <folly/Bits.h>
#include <folly/Conv.h>
+#include <folly/Likely.h>
#include <folly/Random.h>
#include <folly/detail/AtomicUnorderedMapUtils.h>
#include <folly/Random.h>
#include <folly/detail/AtomicUnorderedMapUtils.h>
+#include <folly/portability/SysMman.h>
+#include <folly/portability/Unistd.h>
+
#include <boost/type_traits/has_trivial_destructor.hpp>
#include <limits>
#include <boost/type_traits/has_trivial_destructor.hpp>
#include <limits>
@@
-519,4
+521,3
@@
struct MutableData {
}
}
-#endif