Remove use of is_trivially_constructible.

type_traits header in libstdc++ 4.8 does not define is_trivially_contructible
so the code doesn't compile with it.

In this file we are using the trait for assertion to provide a better
error message. Removing it doesn't change the meaning of the code.

Differential Revision: http://reviews.llvm.org/D20719

llvm-svn: 270957
This commit is contained in:
Rui Ueyama 2016-05-27 02:47:38 +00:00
parent 47bee32a57
commit 0d70ccd895
1 changed files with 0 additions and 2 deletions

View File

@ -111,8 +111,6 @@ template <typename T> class FixedStreamArrayIterator;
template <typename T> class FixedStreamArray {
friend class FixedStreamArrayIterator<T>;
static_assert(std::is_trivially_constructible<T>::value,
"FixedStreamArray must be used with trivial types");
public:
FixedStreamArray() : Stream() {}