diff options
Diffstat (limited to 'absl/container')
-rw-r--r-- | absl/container/internal/layout.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/container/internal/layout.h b/absl/container/internal/layout.h index 0c239fe8..676c7d67 100644 --- a/absl/container/internal/layout.h +++ b/absl/container/internal/layout.h @@ -456,7 +456,7 @@ class LayoutImpl<std::tuple<Elements...>, absl::index_sequence<SizeSeq...>, // // // int[3], 4 bytes of padding, double[4]. // Layout<int, double> x(3, 4); - // unsigned char* p = unsigned char[x.AllocSize()]; + // unsigned char* p = new unsigned char[x.AllocSize()]; // int* ints = x.Pointer<0>(p); // double* doubles = x.Pointer<1>(p); // |