bot review

This commit is contained in:
J. Nick Koston
2026-01-16 13:30:27 -10:00
parent 72ebee5267
commit 90989aa7cd
+2 -2
View File
@@ -66,8 +66,8 @@ template<typename K, typename V> class Mapping {
}
esph_log_e(TAG, "Key '%s' not found in mapping", buf);
} else {
// Fallback for custom types - likely unreachable but kept for compatibility
esph_log_e(TAG, "Key '%s' not found in mapping", to_string(key).c_str());
// All supported key types are handled above - this should never be reached
static_assert(sizeof(K) == 0, "Unsupported key type for Mapping error logging");
}
return {};
}