feat(src): optimized api of detemines wether the assemply is null

This commit is contained in:
Osenberg
2019-03-18 14:57:54 +08:00
parent c37bbfb0bd
commit a75d064a2a
3 changed files with 19 additions and 31 deletions

View File

@@ -610,6 +610,8 @@ void Device::ReadAllInfos() {
device_info_->name = uvc::get_name(*device_);
motions_->SetDeviceInfo(device_info_);
bool img_params_ok = false;
for (auto &&params : all_img_params_) {
auto &&img_params = params.second;