Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
mantidproject
mantid
Commits
0dcfda28
Commit
0dcfda28
authored
Sep 16, 2021
by
Zhang, Chen
Browse files
fix the error in remove the wrong var
parent
ec4fecd4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Framework/API/inc/MantidAPI/DeprecatedAlgorithm.h
View file @
0dcfda28
...
...
@@ -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
;
};
...
...
Framework/API/inc/MantidAPI/DeprecatedAlias.h
View file @
0dcfda28
...
...
@@ -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
;
};
...
...
Framework/API/src/DeprecatedAlias.cpp
View file @
0dcfda28
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment