Commit 9fd8d1b1 authored by Harry Jeffery's avatar Harry Jeffery
Browse files

Refs #11400 Fix extra ';' warnings

parent 5c107da2
......@@ -610,7 +610,7 @@ public:
/// shared pointer to the function base class
typedef boost::shared_ptr<ScriptRepository> ScriptRepository_sptr;
};
};
}
}
#endif // MANTID_API_SCRIPTREPOSITORY_H_
......@@ -9,7 +9,7 @@
namespace Mantid {
namespace API {
DECLARE_TRANSFORMSCALE(LinearScale);
DECLARE_TRANSFORMSCALE(LinearScale)
/* Transform the grid to adopt a linear scale
* @param gd a grid object
......
......@@ -434,13 +434,13 @@ void LogManager::clearLogs() { m_manager.clear(); }
template MANTID_API_DLL TYPE \
LogManager::getPropertyValueAsType(const std::string &) const;
INSTANTIATE(double);
INSTANTIATE(int);
INSTANTIATE(long);
INSTANTIATE(uint32_t);
INSTANTIATE(uint64_t);
INSTANTIATE(std::string);
INSTANTIATE(bool);
INSTANTIATE(double)
INSTANTIATE(int)
INSTANTIATE(long)
INSTANTIATE(uint32_t)
INSTANTIATE(uint64_t)
INSTANTIATE(std::string)
INSTANTIATE(bool)
template MANTID_API_DLL uint16_t
LogManager::getPropertyValueAsType(const std::string &) const;
......
......@@ -16,7 +16,7 @@ namespace {
Kernel::Logger g_log("LogarithmScale");
}
DECLARE_TRANSFORMSCALE(LogarithmScale);
DECLARE_TRANSFORMSCALE(LogarithmScale)
void LogarithmScale::setBase(double &base) {
if (base <= 0) {
......
......@@ -38,7 +38,7 @@ public:
};
DECLARE_COSTFUNCTION(CostFunctionFactoryTest_A, nedtur);
DECLARE_COSTFUNCTION(CostFunctionFactoryTest_A, nedtur)
class CostFunctionFactoryTest : public CxxTest::TestSuite
......
......@@ -33,7 +33,7 @@ public:
}
};
DECLARE_FUNCMINIMIZER(FuncMinimizerFactoryTest_A, nedtur);
DECLARE_FUNCMINIMIZER(FuncMinimizerFactoryTest_A, nedtur)
class FuncMinimizerFactoryTest : public CxxTest::TestSuite
......
......@@ -134,10 +134,10 @@ public:
};
DECLARE_FUNCTION(FunctionFactoryTest_FunctA);
DECLARE_FUNCTION(FunctionFactoryTest_FunctB);
DECLARE_FUNCTION(FunctionFactoryTest_CompFunctA);
DECLARE_FUNCTION(FunctionFactoryTest_CompFunctB);
DECLARE_FUNCTION(FunctionFactoryTest_FunctA)
DECLARE_FUNCTION(FunctionFactoryTest_FunctB)
DECLARE_FUNCTION(FunctionFactoryTest_CompFunctA)
DECLARE_FUNCTION(FunctionFactoryTest_CompFunctB)
class FunctionFactoryTest : public CxxTest::TestSuite
{
......
......@@ -44,7 +44,7 @@ public:
}
};
DECLARE_FUNCTION(TestableFunctionParameterDecorator);
DECLARE_FUNCTION(TestableFunctionParameterDecorator)
class FunctionWithParameters : public ParamFunction {
public:
......@@ -64,7 +64,7 @@ public:
// Does nothing, not required for this test.
}
};
DECLARE_FUNCTION(FunctionWithParameters);
DECLARE_FUNCTION(FunctionWithParameters)
class FunctionWithAttributes : public ParamFunction {
public:
......@@ -88,7 +88,7 @@ public:
}
};
DECLARE_FUNCTION(FunctionWithAttributes);
DECLARE_FUNCTION(FunctionWithAttributes)
class FunctionParameterDecoratorTest : public CxxTest::TestSuite {
public:
......
......@@ -23,7 +23,7 @@ public:
virtual void function(const FunctionDomain&,FunctionValues&)const {}
};
DECLARE_FUNCTION(FunctionPropertyTest_Function);
DECLARE_FUNCTION(FunctionPropertyTest_Function)
class FunctionPropertyTest : public CxxTest::TestSuite
{
......
......@@ -67,7 +67,7 @@ public:
std::string name()const {return "ImmutableCompositeFunctionTest_Function";}
};
DECLARE_FUNCTION(ImmutableCompositeFunctionTest_Function);
DECLARE_FUNCTION(ImmutableCompositeFunctionTest_Function)
//---------------------------------------------------------------------------------
class ImmutableCompositeFunctionTest_FunctionWithTies: public ImmutableCompositeFunction
......@@ -95,7 +95,7 @@ public:
std::string name()const {return "ImmutableCompositeFunctionTest_FunctionWithTies";}
};
DECLARE_FUNCTION(ImmutableCompositeFunctionTest_FunctionWithTies);
DECLARE_FUNCTION(ImmutableCompositeFunctionTest_FunctionWithTies)
//---------------------------------------------------------------------------------
class ImmutableCompositeFunctionTest_FunctionThrow: public ImmutableCompositeFunction
......
......@@ -26,7 +26,7 @@ using namespace testing;
// Declare into the factory.
DECLARE_WORKSPACE(WorkspaceTester);
DECLARE_WORKSPACE(WorkspaceTester)
/** Create a workspace with numSpectra, with
* each spectrum having one detector, at id = workspace index.
......
......@@ -49,7 +49,7 @@ protected:
}
};
DECLARE_FUNCTION(MultiDomainFunctionTest_Function);
DECLARE_FUNCTION(MultiDomainFunctionTest_Function)
namespace {
......
......@@ -23,10 +23,10 @@ AppendSpectra::AppendSpectra() : WorkspaceJoiners() {}
AppendSpectra::~AppendSpectra() {}
/// Algorithm's name for identification. @see Algorithm::name
const std::string AppendSpectra::name() const { return "AppendSpectra"; };
const std::string AppendSpectra::name() const { return "AppendSpectra"; }
/// Algorithm's version for identification. @see Algorithm::version
int AppendSpectra::version() const { return 1; };
int AppendSpectra::version() const { return 1; }
/** Initialize the algorithm's properties.
*/
......
......@@ -20,10 +20,10 @@ AverageLogData::~AverageLogData() {}
//----------------------------------------------------------------------------------------------
/// Algorithm's name for identification. @see Algorithm::name
const std::string AverageLogData::name() const { return "AverageLogData"; };
const std::string AverageLogData::name() const { return "AverageLogData"; }
/// Algorithm's version for identification. @see Algorithm::version
int AverageLogData::version() const { return 1; };
int AverageLogData::version() const { return 1; }
/// Algorithm's category for identification. @see Algorithm::category
const std::string AverageLogData::category() const {
......
......@@ -35,7 +35,7 @@ const std::string CalculateDIFC::name() const { return "CalculateDIFC"; }
/// Algorithm's version for identification. @see Algorithm::version
int CalculateDIFC::version() const {
return 1;
};
}
/// Algorithm's category for identification. @see Algorithm::category
const std::string CalculateDIFC::category() const {
......@@ -45,7 +45,7 @@ const std::string CalculateDIFC::category() const {
/// Algorithm's summary for use in the GUI and help. @see Algorithm::summary
const std::string CalculateDIFC::summary() const {
return "Calculate the DIFC for every pixel";
};
}
//----------------------------------------------------------------------------------------------
/** Initialize the algorithm's properties.
......
......@@ -34,10 +34,10 @@ CalculateResolution::~CalculateResolution() {}
/// Algorithm's name for identification. @see Algorithm::name
const std::string CalculateResolution::name() const {
return "CalculateResolution";
};
}
/// Algorithm's version for identification. @see Algorithm::version
int CalculateResolution::version() const { return 1; };
int CalculateResolution::version() const { return 1; }
/// Algorithm's category for identification. @see Algorithm::category
const std::string CalculateResolution::category() const {
......@@ -48,7 +48,7 @@ const std::string CalculateResolution::category() const {
const std::string CalculateResolution::summary() const {
return "Calculates the reflectometry resolution (dQ/Q) for a given "
"workspace.";
};
}
//----------------------------------------------------------------------------------------------
/** Initialize the algorithm's properties.
......
......@@ -28,10 +28,10 @@ CalculateSlits::~CalculateSlits() {}
/// Algorithm's name for identification. @see Algorithm::name
const std::string CalculateSlits::name() const {
return "CalculateSlits";
};
}
/// Algorithm's version for identification. @see Algorithm::version
int CalculateSlits::version() const { return 1; };
int CalculateSlits::version() const { return 1; }
/// Algorithm's category for identification. @see Algorithm::category
const std::string CalculateSlits::category() const {
......@@ -41,7 +41,7 @@ const std::string CalculateSlits::category() const {
/// Algorithm's summary for use in the GUI and help. @see Algorithm::summary
const std::string CalculateSlits::summary() const {
return "Calculates appropriate slit widths for reflectometry instruments.";
};
}
//----------------------------------------------------------------------------------------------
/** Initialize the algorithm's properties.
......
......@@ -7,7 +7,7 @@ namespace Mantid {
namespace Algorithms {
// Register the algorithm into the AlgorithmFactory
DECLARE_ALGORITHM(ChangeLogTime);
DECLARE_ALGORITHM(ChangeLogTime)
using std::string;
using std::stringstream;
......
......@@ -29,7 +29,7 @@ ClearInstrumentParameters::~ClearInstrumentParameters() {}
/// Algorithm's name for identification. @see Algorithm::name
const std::string ClearInstrumentParameters::name() const {
return "ClearInstrumentParameters";
};
}
/// Summary of the algorithm's purpose. @see Algorithm::summary
const std::string ClearInstrumentParameters::summary() const {
......@@ -37,7 +37,7 @@ const std::string ClearInstrumentParameters::summary() const {
}
/// Algorithm's version for identification. @see Algorithm::version
int ClearInstrumentParameters::version() const { return 1; };
int ClearInstrumentParameters::version() const { return 1; }
/// Algorithm's category for identification. @see Algorithm::category
const std::string ClearInstrumentParameters::category() const {
......
......@@ -21,10 +21,10 @@ ClearMaskFlag::~ClearMaskFlag() {}
//----------------------------------------------------------------------------------------------
/// Algorithm's name for identification. @see Algorithm::name
const std::string ClearMaskFlag::name() const { return "ClearMaskFlag"; };
const std::string ClearMaskFlag::name() const { return "ClearMaskFlag"; }
/// Algorithm's version for identification. @see Algorithm::version
int ClearMaskFlag::version() const { return 1; };
int ClearMaskFlag::version() const { return 1; }
/// Algorithm's category for identification. @see Algorithm::category
const std::string ClearMaskFlag::category() const { return "Utility"; }
......
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