Fix code snippet in comment (#174)

This commit is contained in:
Loo Rong Jie 2018-09-29 01:41:11 +08:00 committed by Derek Mauro
parent 5aae0cffae
commit 5441bbe1db

View file

@ -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);
//