[core] Deprecate unsafe const char* APIs in mark_failed() and status_set_error(), add LogString* overloads (#12021)

This commit is contained in:
J. Nick Koston authored and GitHub committed 2025-11-24 13:45:56 -06:00
1 parent 909baf5e7a
commit 97ba67f4ee
34 files changed
+157 -109

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@ Camera *Camera::global_camera = nullptr;
Camera::Camera() {
if (global_camera != nullptr) {
this->status_set_error("Multiple cameras are configured, but only one is supported.");
this->status_set_error(LOG_STR("Multiple cameras are configured, but only one is supported."));
this->mark_failed();
return;
}