1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-14 12:10:34 +00:00

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: public:
virtual size_t getRfChannels() const = 0; virtual size_t getRfChannels() const = 0;
protected:
SignalSourceInterface() { protected:
VLOG(1) << "SignalSourceInterface: " << this << " ctor"; SignalSourceInterface()
{
VLOG(1) << "SignalSourceInterface: " << this << " ctor";
} }
public: // required for polymorphic destruction
~SignalSourceInterface() { public: // required for polymorphic destruction
VLOG(1) << "SignalSourceInterface: " << this << " dtor"; ~SignalSourceInterface()
{
VLOG(1) << "SignalSourceInterface: " << this << " dtor";
} }
}; };
#endif #endif

View File

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