folly: avoid use of has_trivial_destructor in FBVector.h
authorJim Meyering <meyering@fb.com>
Wed, 29 May 2013 01:06:16 +0000 (18:06 -0700)
committerSara Golemon <sgolemon@fb.com>
Wed, 28 Aug 2013 21:30:11 +0000 (14:30 -0700)
commit7c94b13973b22a1e61155429e126280147294bc2
tree63fc1242d0c3e8e0746d6ebb2c638779f04f0118
parent797870eccb83baf33e5d8a3e47385a031080bef6
folly: avoid use of has_trivial_destructor in FBVector.h

Summary:
This is required for gcc-4.8.x.
Use boost::has_trivial_destructor, not std::has_trivial_destructor.
The latter was never standard, and the now-std name (and the only one
supported in gcc-4.8.0) is std::is_trivially_destructible.

Test Plan:
fbmake runtests and then
run_unit_tests.sh with -r and again with -d

Reviewed By: njormrod@fb.com

FB internal diff: D923359

@override-unit-failures
folly/FBVector.h