clang-tidy: use = default

Found with modernize-use-equals-default

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2021-02-28 18:58:44 -08:00 committed by Tomas Babej
parent 4aaaa8dcc8
commit 3cafb5257e
9 changed files with 7 additions and 50 deletions

View file

@ -124,7 +124,7 @@ public:
Chart (char);
Chart (const Chart&); // Unimplemented
Chart& operator= (const Chart&); // Unimplemented
~Chart ();
~Chart () = default;
void scan (std::vector <Task>&);
void scanForPeak (std::vector <Task>&);
@ -184,11 +184,6 @@ Chart::Chart (char type)
_period = type;
}
////////////////////////////////////////////////////////////////////////////////
Chart::~Chart ()
{
}
////////////////////////////////////////////////////////////////////////////////
// Scan all tasks, quantize the dates by day, and find the peak pending count
// and corresponding epoch.

View file

@ -235,11 +235,6 @@ Command::Command ()
{
}
////////////////////////////////////////////////////////////////////////////////
Command::~Command ()
{
}
////////////////////////////////////////////////////////////////////////////////
std::string Command::keyword () const
{

View file

@ -53,7 +53,7 @@ public:
};
Command ();
virtual ~Command ();
virtual ~Command () = default;
static void factory (std::map <std::string, Command*>&);