Skip to content

Commit

Permalink
use default for empty destructor
Browse files Browse the repository at this point in the history
  • Loading branch information
mnwright committed May 18, 2018
1 parent ff5106c commit d62dbce
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions cpp_version/src/utility/ArgumentHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ ArgumentHandler::ArgumentHandler(int argc, char **argv) :
this->argv = argv;
}

ArgumentHandler::~ArgumentHandler() {
}

int ArgumentHandler::processArguments() {

// short options
Expand Down
2 changes: 1 addition & 1 deletion cpp_version/src/utility/ArgumentHandler.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ namespace ranger {
class ArgumentHandler {
public:
ArgumentHandler(int argc, char **argv);
virtual ~ArgumentHandler();
virtual ~ArgumentHandler() = default;

ArgumentHandler(const ArgumentHandler&) = delete;
ArgumentHandler& operator=(const ArgumentHandler&) = delete;
Expand Down

0 comments on commit d62dbce

Please sign in to comment.