Skip to content

Commit 4f1fcfd

Browse files
Deprecated algo UnwrapMonitor (#39225)
1 parent 9e6cd43 commit 4f1fcfd

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

Framework/Algorithms/inc/MantidAlgorithms/UnwrapMonitor.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
#pragma once
88

99
#include "MantidAPI/Algorithm.h"
10+
#include "MantidAPI/DeprecatedAlgorithm.h"
1011
#include "MantidAlgorithms/DllConfig.h"
1112
#include "MantidHistogramData/HistogramX.h"
1213
#include "MantidKernel/cow_ptr.h"
@@ -29,7 +30,7 @@ namespace Algorithms {
2930
@author Russell Taylor, Tessella Support Services plc
3031
@date 25/07/2008
3132
*/
32-
class MANTID_ALGORITHMS_DLL UnwrapMonitor final : public API::Algorithm {
33+
class MANTID_ALGORITHMS_DLL UnwrapMonitor final : public API::Algorithm, public API::DeprecatedAlgorithm {
3334
public:
3435
UnwrapMonitor();
3536
~UnwrapMonitor() override = default;

Framework/Algorithms/src/UnwrapMonitor.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,9 @@ using namespace Kernel;
2828
using namespace API;
2929

3030
/// Default constructor
31-
UnwrapMonitor::UnwrapMonitor()
32-
: m_conversionConstant(0.), m_inputWS(), m_LRef(0.), m_Tmin(0.), m_Tmax(0.), m_XSize(0) {}
31+
UnwrapMonitor::UnwrapMonitor() : m_conversionConstant(0.), m_inputWS(), m_LRef(0.), m_Tmin(0.), m_Tmax(0.), m_XSize(0) {
32+
deprecatedDate("2025-04-16");
33+
}
3334

3435
/// Initialisation method
3536
void UnwrapMonitor::init() {
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- :ref:`UnwrapMonitor <algm-UnwrapMonitor>` has been deprecated. There is no replacement.

0 commit comments

Comments
 (0)