add tests/adc_dev_test.cpp
This commit is contained in:
@@ -155,8 +155,8 @@ protected:
|
||||
CmdIdDeserialT&& cmd_id_deser_func = {})
|
||||
: _id(id)
|
||||
{
|
||||
_get_attr = [dev_ptr, wrapper = traits::adc_pf_wrapper(std::forward<AttrIdDeserialT>(attr_id_deser_func)),
|
||||
this](const auto& attr_name) mutable {
|
||||
_get_attr = [dev_ptr, wrapper = traits::adc_pf_wrapper(std::forward<AttrIdDeserialT>(attr_id_deser_func))](
|
||||
const auto& attr_name) mutable {
|
||||
auto attr_id = std::get<0>(wrapper)(attr_name);
|
||||
auto& attr = (*dev_ptr)[attr_id];
|
||||
// auto& attr = dev_ptr->operator[](attr_id);
|
||||
|
||||
Reference in New Issue
Block a user