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>
This commit is contained in:
Rosen Penev
2022-04-16 02:29:15 -07:00
committed by GitHub
parent 471b816491
commit d466c1e9eb
3 changed files with 1 additions and 3 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ class Task {
return bResult;
}
bool binary() {
bool binary() const {
return binary_;
}
-1
View File
@@ -217,7 +217,6 @@ class Params : public Util::Getopt {
Params();
private:
//! @name Helpers
//@{
int setLogLevel(const std::string& optarg);
-1
View File
@@ -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.
*/