Commit 1aceaf32 authored by Francis Dupont's avatar Francis Dupont

[master] Fixed the new static assert (strict c++11 vs c++17)

parent d646d2e5
......@@ -1686,7 +1686,8 @@ TEST_F(LibDhcpTest, fqdnList) {
0
};
/* This size is used later so protect ourselves against changes */
static_assert(sizeof(fqdn) == 40);
static_assert(sizeof(fqdn) == 40,
"incorrect uncompressed domain list size");
// Initialize a vector with the FQDN data.
std::vector<uint8_t> fqdn_buf(fqdn, fqdn + sizeof(fqdn));
......
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