Commit 0dcfda28 authored by Zhang, Chen's avatar Zhang, Chen
Browse files

fix the error in remove the wrong var

parent ec4fecd4
......@@ -33,6 +33,8 @@ public:
private:
/// The algorithm to use instead of this one.
std::string m_replacementAlgorithm;
/// Replacement version, -1 indicates latest
int m_replacementVersion;
/// The date that the algorithm was first deprecated.
std::string m_deprecatedDate;
};
......
......@@ -38,8 +38,6 @@ public:
void setDeprecationDate(const std::string &date);
private:
/// Replacement version, -1 indicate latest
int m_replacementVersion;
/// Deprecation date
std::string m_deprecationDate;
};
......
......@@ -18,7 +18,7 @@ Kernel::Logger g_log("DeprecatedAlias");
} // namespace
/// Constructor to ensure the compiler is happy
DeprecatedAlias::DeprecatedAlias() : m_replacementVersion(-1), m_deprecationDate() {}
DeprecatedAlias::DeprecatedAlias() : m_deprecationDate() {}
/// Destructor to ensure the compiler is happy
DeprecatedAlias::~DeprecatedAlias() = default;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment