This patch was generated using clang-tidy:
clang-tidy -checks="-*,modernize-use-equals-default" -fix
(with manual fixups to move the "= default" to the .hpp)
using std::string;
using std::unique_ptr;
-AndroidAssetReader::~AndroidAssetReader()
-{}
-
void AndroidAssetReader::open(struct sr_resource *res, string name)
{
if (res->type == SR_RESOURCE_FIRMWARE) {
class AndroidAssetReader : public sigrok::ResourceReader
{
public:
- AndroidAssetReader() {}
- virtual ~AndroidAssetReader();
+ AndroidAssetReader() = default;
+ virtual ~AndroidAssetReader() = default;
private:
void open(struct sr_resource *res, string name) override;
{
public:
SignalData() = default;
- virtual ~SignalData() {}
+ virtual ~SignalData() = default;
public:
virtual vector< shared_ptr<Segment> > segments() const = 0;