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:
parent
471b816491
commit
d466c1e9eb
@ -73,7 +73,7 @@ class Task {
|
|||||||
return bResult;
|
return bResult;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool binary() {
|
bool binary() const {
|
||||||
return binary_;
|
return binary_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -217,7 +217,6 @@ class Params : public Util::Getopt {
|
|||||||
|
|
||||||
Params();
|
Params();
|
||||||
|
|
||||||
private:
|
|
||||||
//! @name Helpers
|
//! @name Helpers
|
||||||
//@{
|
//@{
|
||||||
int setLogLevel(const std::string& optarg);
|
int setLogLevel(const std::string& optarg);
|
||||||
|
|||||||
@ -22,7 +22,6 @@ class Params : public Util::Getopt {
|
|||||||
std::string read_; //!< Source file
|
std::string read_; //!< Source file
|
||||||
std::string write_; //!< Destination file
|
std::string write_; //!< Destination file
|
||||||
|
|
||||||
public:
|
|
||||||
/*!
|
/*!
|
||||||
@brief Default constructor. Note that optstring_ is initialized here.
|
@brief Default constructor. Note that optstring_ is initialized here.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user