diff --git a/app/exiv2.cpp b/app/exiv2.cpp index d5da161b..48bd1b82 100644 --- a/app/exiv2.cpp +++ b/app/exiv2.cpp @@ -47,6 +47,11 @@ // ***************************************************************************** // local declarations namespace { + const Params::YodAdjust emptyYodAdjust_[] = { + { false, "-Y", 0 }, + { false, "-O", 0 }, + { false, "-D", 0 }, + }; //! List of all command identifiers and corresponding strings const CmdIdAndString cmdIdAndString[] = { @@ -195,12 +200,6 @@ int main(int argc, char* const argv[]) // ***************************************************************************** // class Params -const Params::YodAdjust Params::emptyYodAdjust_[] = { - { false, "-Y", 0 }, - { false, "-O", 0 }, - { false, "-D", 0 }, -}; - Params::Params() : optstring_(":hVvqfbuktTFa:Y:O:D:r:p:P:d:e:i:c:m:M:l:S:g:K:n:Q:"), help_(false), version_(false), diff --git a/app/exiv2app.hpp b/app/exiv2app.hpp index 5c04a4bc..84099644 100644 --- a/app/exiv2app.hpp +++ b/app/exiv2app.hpp @@ -241,9 +241,6 @@ public: Exiv2::DataBuf stdinBuf; //!< DataBuf with the binary bytes from stdin private: - //! Initializer for year, month and day adjustment info. - static const YodAdjust emptyYodAdjust_[]; - bool first_; Params();