diff options
author | GOGOYAO <shunyuyao@126.com> | 2022-10-04 08:45:16 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-04 08:45:16 +0800 |
commit | 75173d858538930b65a6754560113527822ed727 (patch) | |
tree | e25b3d32ec39c1008c311a12c2d926050a5a3348 /absl/algorithm | |
parent | 535f22b4a08a11166c91fabc22fe130933c745a7 (diff) |
Initialize `Allocation` to eliminate compile error
Class `Allocation` is not initialized and I will get a compile error like this.
```
error: ‘worklist.absl::lts_20220623::InlinedVector<absl::lts_20220623::cord_internal::CordRep*, 2, std::allocator<absl::lts_20220623::cord_internal::CordRep*> >::storage_.absl::lts_20220623::inlined_vector_internal::Storage<absl::lts_20220623::cord_internal::CordRep*, 2, std::allocator<absl::lts_20220623::cord_internal::CordRep*> >::data_.absl::lts_20220623::inlined_vector_internal::Storage<absl::lts_20220623::cord_internal::CordRep*, 2, std::allocator<absl::lts_20220623::cord_internal::CordRep*> >::Data::allocated.absl::lts_20220623::inlined_vector_internal::Storage<absl::lts_20220623::cord_internal::CordRep*, 2, std::allocator<absl::lts_20220623::cord_internal::CordRep*> >::Allocated::allocated_capacity’ may be used uninitialized [-Werror=maybe-uninitialized]
```
Diffstat (limited to 'absl/algorithm')
0 files changed, 0 insertions, 0 deletions