Hide member variable

This commit is contained in:
Luis Díaz Más 2022-02-20 09:49:01 +01:00
parent 4163236e72
commit 67f574556e
2 changed files with 5 additions and 9 deletions

View File

@ -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),

View File

@ -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();