fix clang-tidy CI issues

This commit is contained in:
Jim Melton 2021-02-15 14:13:54 -07:00
parent 4a88479972
commit fb6fef74e3
No known key found for this signature in database
GPG Key ID: C46392D9AACAB216
2 changed files with 11 additions and 9 deletions

View File

@ -47,17 +47,19 @@ class SignalSourceInterface : public GNSSBlockInterface
{
public:
virtual size_t getRfChannels() const = 0;
protected:
SignalSourceInterface() {
VLOG(1) << "SignalSourceInterface: " << this << " ctor";
protected:
SignalSourceInterface()
{
VLOG(1) << "SignalSourceInterface: " << this << " ctor";
}
public: // required for polymorphic destruction
~SignalSourceInterface() {
VLOG(1) << "SignalSourceInterface: " << this << " dtor";
public: // required for polymorphic destruction
~SignalSourceInterface()
{
VLOG(1) << "SignalSourceInterface: " << this << " dtor";
}
};
#endif

View File

@ -231,7 +231,7 @@ std::unique_ptr<GNSSBlockInterface> GNSSBlockFactory::GetSignalConditioner(
auto role_resampler = findRole(configuration, "Resampler"s, ID);
DLOG(INFO) << "role: " << role_conditioner << " (ID=" << ID << ")";
const std::string signal_conditioner = configuration->property(role_conditioner + impl_prop, ""s);
const std::string data_type_adapter = configuration->property(role_datatypeadapter + impl_prop, ""s);