Closed medhijk closed 6 years ago
if you look closely at the error message you posted, you can see that someone is doing an implicit conversion from boost::shared_ptr<> to bool. This obviously compiled for the original developer's, but your compiler is being more strict. I'll submit a pull request to fix this issue, and hopefully it won't take too long for them to respond.
boost::shared_ptr<>
is not a bool
, and your compiler is forbidding that conversion. A fix might look like:
virtual bool hasVariance() const { return (variance_ != nullptr); }
Recommend to be closed after @meyerj merged tu-darmstadt-ros-pkg/hector_localization#16
While compiling hector quadrotor package from source under kinetic devel, I run the following error:
Can anyone tell me what might be causing this?