Commit 70ea8045 authored by Orvid King's avatar Orvid King Committed by Facebook Github Bot

Fix typo in error message in small_vector test

Summary: As per title.

Reviewed By: yfeldblum

Differential Revision: D8014022

fbshipit-source-id: df24a839804e9bb6c063994adbbde3544535b66c
parent 2e60986c
......@@ -52,7 +52,7 @@ static_assert(sizeof(small_vector<int32_t,1,uint32_t>) ==
// Extra 2 bytes needed for alignment.
static_assert(
sizeof(small_vector<int32_t, 1, uint16_t>) == 8 + 2 + 2,
"small_vector<int32_t,1,uint32_t> is wrong size");
"small_vector<int32_t,1,uint16_t> is wrong size");
static_assert(
alignof(small_vector<int32_t, 1, uint16_t>) >= 4,
"small_vector not aligned correctly");
......@@ -60,7 +60,7 @@ static_assert(
// Extra 3 bytes needed for alignment.
static_assert(
sizeof(small_vector<int32_t, 1, uint8_t>) == 8 + 1 + 3,
"small_vector<int32_t,1,uint32_t> is wrong size");
"small_vector<int32_t,1,uint8_t> is wrong size");
static_assert(
alignof(small_vector<int32_t, 1, uint8_t>) >= 4,
"small_vector not aligned correctly");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment