commit | b627db8943416e69b5ec91f643650b2476ee6174 | [log] [tgz] |
---|---|---|
author | Ilya Biryukov <ibiryukov@google.com> | Wed Jun 06 09:22:19 2018 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Mar 25 23:17:13 2021 -0700 |
tree | 9fc2dbbc7c9b3df3d26ba873a52e99c167165aea | |
parent | cb4966901831a646ffae8e433facd25ec3ac238a [diff] |
Fix compile error with libstdc++. By adding a ctor to create fuzzer_allocator<T> from fuzzer_allocator<U>. This mimics construcotrs of std::allocator<T>. Without the constructors, some versions of libstdc++ can't compile `vector<bool, fuzzer_allocator<bool>>`. llvm-svn: 334077 GitOrigin-RevId: b7c374500607486d56ae16195b57ea737fa2e5a5