Commit d62f47c7 authored by Yedidya Feldblum's avatar Yedidya Feldblum Committed by Facebook Github Bot

Remove spelled default ctor in AlignedSysAllocator

Summary: [Folly] Remove spelled default ctor in `AlignedSysAllocator`, which was needed only for gcc49.

Reviewed By: aary

Differential Revision: D19171223

fbshipit-source-id: ee42f6ac188dc896519537870353116c0dfd3acd
parent da24dd6f
...@@ -474,12 +474,6 @@ class AlignedSysAllocator : private Align { ...@@ -474,12 +474,6 @@ class AlignedSysAllocator : private Align {
using Align::Align; using Align::Align;
// TODO: remove this ctor, which is required only by gcc49
template <
typename S = Align,
std::enable_if_t<std::is_default_constructible<S>::value, int> = 0>
constexpr AlignedSysAllocator() noexcept(noexcept(Align())) : Align() {}
template <typename U> template <typename U>
constexpr explicit AlignedSysAllocator( constexpr explicit AlignedSysAllocator(
AlignedSysAllocator<U, Align> const& other) noexcept AlignedSysAllocator<U, Align> const& other) noexcept
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment