Skip to content

Commit

Permalink
Fix code snippet in comment (#174)
Browse files Browse the repository at this point in the history
  • Loading branch information
rongjiecomputer authored and derekmauro committed Sep 28, 2018
1 parent 5aae0cf commit 5441bbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion absl/container/internal/layout.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
//
Expand Down

0 comments on commit 5441bbe

Please sign in to comment.