Merge branch 'refactor' of http://192.168.0.10:3000/pandx/WLG into refactor
This commit is contained in:
commit
cec944a05a
@ -59,7 +59,7 @@ int SensorScheduler::WriteScheduleCfg(long &ts, std::string &world_time) {
|
||||
for (int i = 0; i < available_slice_; ++i) {
|
||||
ids.append(slice_allocation[i]);
|
||||
}
|
||||
delete slice_allocation;
|
||||
delete []slice_allocation;
|
||||
root["id"] = ids;
|
||||
Json::StyledStreamWriter streamWriter;
|
||||
std::ofstream out_file(SCHEDULE_CONFIG);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user