Skip to content

Commit d466c1e

Browse files
authored
minor clang-tidy fixes (#2213)
* clang-tidy: add const to member function Signed-off-by: Rosen Penev <[email protected]> * clang-tidy: remove duplicate access specifier Signed-off-by: Rosen Penev <[email protected]>
1 parent 471b816 commit d466c1e

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

app/actions.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class Task {
7373
return bResult;
7474
}
7575

76-
bool binary() {
76+
bool binary() const {
7777
return binary_;
7878
}
7979

app/exiv2app.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,6 @@ class Params : public Util::Getopt {
217217

218218
Params();
219219

220-
private:
221220
//! @name Helpers
222221
//@{
223222
int setLogLevel(const std::string& optarg);

samples/metacopy.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ class Params : public Util::Getopt {
2222
std::string read_; //!< Source file
2323
std::string write_; //!< Destination file
2424

25-
public:
2625
/*!
2726
@brief Default constructor. Note that optstring_ is initialized here.
2827
*/

0 commit comments

Comments
 (0)