-
Type:
Bug
-
Status: Closed
-
Priority:
Normal
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:None
-
Kit/Branch:net-kit master
build.log snippet
../../base/bind.h:242:23: required from ‘base::Callback<typename base::internal::BindTypeHelper<Functor, BoundArgs>::UnboundRunType> base::Bind(Functor&&, Args&& ...) [with Functor = void (device::PlatformSensorLinux::*)(device::SensorReading); Args = {base::WeakPtr<device::PlatformSensorLinux>&, device::SensorReading&}; base::Callback<typename base::internal::BindTypeHelper<Functor, BoundArgs>::UnboundRunType> = base::RepeatingCallback<void()>; typename base::internal::BindTypeHelper<Functor, BoundArgs>::UnboundRunType = void()]’ ../../services/device/generic_sensor/platform_sensor_reader_linux.cc:126:48: required from here ../../base/bind.h:59:3: error: static assertion failed: Bound argument |i| of type |Arg| cannot be forwarded as |Unwrapped| to the bound functor, which declares it as |Param|. static_assert( ^ ../../base/bind.h:70:3: error: static assertion failed: Bound argument |i| of type |Arg| cannot be converted and bound as |Storage|. static_assert(arg_is_storable, ^
There is an upstream bug but I'm not sure if this is the same: Bug 631452