Index: components/proximity_auth/wire_message.cc |
diff --git a/components/proximity_auth/wire_message.cc b/components/proximity_auth/wire_message.cc |
index 604c026566a77115b3508a7ca7c987660bbae386..5b64da9eac7b4372d0d727f1af47142c5657ad26 100644 |
--- a/components/proximity_auth/wire_message.cc |
+++ b/components/proximity_auth/wire_message.cc |
@@ -41,7 +41,7 @@ bool ParseHeader(const std::string& serialized_message, |
return false; |
} |
- COMPILE_ASSERT(kHeaderLength > 2, header_length_too_small); |
+ static_assert(kHeaderLength > 2, "kHeaderLength too small"); |
size_t version = serialized_message[0]; |
if (version != kExpectedMessageFormatVersion) { |
VLOG(1) << "Error: Invalid message version. Got " << version |