/*
- * Copyright 2017 Facebook, Inc.
+ * Copyright 2014-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.
#include <atomic>
#include <chrono>
-#include <folly/AtomicStruct.h>
-#include <folly/Hash.h>
-#include <folly/ThreadId.h>
-#include <folly/Traits.h>
#include <folly/detail/Futex.h>
-
-namespace folly {
-
-// gcc 4.7 doesn't do std::is_trivial correctly, override so we can use
-// AtomicStruct<duration>
-template <>
-struct IsTriviallyCopyable<std::chrono::steady_clock::duration>
- : std::true_type {};
-
-}
+#include <folly/hash/Hash.h>
+#include <folly/synchronization/AtomicStruct.h>
+#include <folly/system/ThreadId.h>
namespace folly { namespace detail {
}
};
-}} // namespace folly::detail
+} // namespace detail
+} // namespace folly