Change conf char* to C++ string

This commit is contained in:
MrDave
2019-10-27 18:11:23 -06:00
committed by Mr-Dave
parent fa07d2e1e7
commit 487c4a6a90
27 changed files with 1482 additions and 1795 deletions

View File

@@ -502,7 +502,7 @@ void algsec_init(ctx_cam *cam){
#ifdef HAVE_OPENCV
int retcd;
mythreadname_set("cv",cam->threadnr,cam->conf->camera_name);
mythreadname_set("cv",cam->threadnr,cam->conf->camera_name.c_str());
cam->algsec = new ctx_algsec;
@@ -514,7 +514,7 @@ void algsec_init(ctx_cam *cam){
if (retcd == 0) algsec_start_handler(cam);
mythreadname_set("ml",cam->threadnr,cam->conf->camera_name);
mythreadname_set("ml",cam->threadnr,cam->conf->camera_name.c_str());
#else
(void)cam;
#endif