diff -Naur a/brillo/dbus/dbus_signature.h b/brillo/dbus/dbus_signature.h | |
--- a/brillo/dbus/dbus_signature.h 2023-11-28 17:27:46.692301466 -0800 | |
+++ b/brillo/dbus/dbus_signature.h 2023-11-28 17:28:17.244338858 -0800 | |
@@ -55,7 +55,7 @@ | |
// holding the D-Bus signature. | |
template <typename T, typename = void> | |
struct DBusSignature { | |
- static_assert(false, "Unsupported type for D-Bus"); | |
+ static_assert(sizeof(T) == -1, "Unsupported type for D-Bus"); | |
}; | |
template <> |