From 80595f846822ec527d592c65366c17a56e768bfa Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Tue, 27 Apr 2021 15:09:15 -0700 Subject: [PATCH] clang-tidy: remove duplicate public Found with readability-redundant-access-specifiers Signed-off-by: Rosen Penev --- samples/geotag.cpp | 2 +- src/convert.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/geotag.cpp b/samples/geotag.cpp index 00f74fc0..007f0e99 100644 --- a/samples/geotag.cpp +++ b/samples/geotag.cpp @@ -207,7 +207,7 @@ public: static time_t deltaMax_; // public static member functions -public: + static int Adjust() {return Position::adjust_ + Position::tz_ + Position::dst_ ;} static int tz() {return tz_ ;} static int dst() {return dst_ ;} diff --git a/src/convert.cpp b/src/convert.cpp index 3a382af6..8c3f9668 100644 --- a/src/convert.cpp +++ b/src/convert.cpp @@ -113,7 +113,7 @@ namespace Exiv2 { ConvertFct key1ToKey2_; //!< Conversion from first to second key. ConvertFct key2ToKey1_; //!< Conversion from second to first key. }; - public: + //! @name Creators //@{ //! Constructor for Exif tags and XMP properties.