make it safer

This commit is contained in:
J. Nick Koston
2026-03-06 07:39:49 -10:00
parent 79d7795c07
commit 6b53ccc85a
9 changed files with 29 additions and 22 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ static const char *const TAG = "entity_base";
// Entity Name
const StringRef &EntityBase::get_name() const { return this->name_; }
void EntityBase::configure_entity(const char *name, uint32_t object_id_hash, uint32_t entity_strings_packed) {
void EntityBase::configure_entity_(const char *name, uint32_t object_id_hash, uint32_t entity_strings_packed) {
this->name_ = StringRef(name);
if (this->name_.empty()) {
#ifdef USE_DEVICES