[clang-tidy] Use default to initialize constructors

Found with modernize-use-equals-default

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2019-09-27 19:35:54 -07:00 committed by Paul Beckingham
parent 897759e4dc
commit bf40ea8816
3 changed files with 4 additions and 29 deletions

View file

@ -50,9 +50,7 @@ Lexer::Lexer (const std::string& text)
}
////////////////////////////////////////////////////////////////////////////////
Lexer::~Lexer ()
{
}
Lexer::~Lexer () = default;
////////////////////////////////////////////////////////////////////////////////
// When a Lexer object is constructed with a string, this method walks through