minor clang-tidy fixes (#2213)

* clang-tidy: add const to member function

Signed-off-by: Rosen Penev <rosenp@gmail.com>

* clang-tidy: remove duplicate access specifier

Signed-off-by: Rosen Penev <rosenp@gmail.com>
main
Rosen Penev 3 years ago committed by GitHub
parent 471b816491
commit d466c1e9eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -73,7 +73,7 @@ class Task {
return bResult;
}
bool binary() {
bool binary() const {
return binary_;
}

@ -217,7 +217,6 @@ class Params : public Util::Getopt {
Params();
private:
//! @name Helpers
//@{
int setLogLevel(const std::string& optarg);

@ -22,7 +22,6 @@ class Params : public Util::Getopt {
std::string read_; //!< Source file
std::string write_; //!< Destination file
public:
/*!
@brief Default constructor. Note that optstring_ is initialized here.
*/

Loading…
Cancel
Save