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
9fd8d1b1
Commit
9fd8d1b1
authored
Mar 19, 2015
by
Harry Jeffery
Browse files
Refs #11400 Fix extra ';' warnings
parent
5c107da2
Changes
314
Hide whitespace changes
Inline
Side-by-side
Code/Mantid/Framework/API/inc/MantidAPI/ScriptRepository.h
View file @
9fd8d1b1
...
...
@@ -610,7 +610,7 @@ public:
/// shared pointer to the function base class
typedef
boost
::
shared_ptr
<
ScriptRepository
>
ScriptRepository_sptr
;
}
;
}
;
}
}
#endif // MANTID_API_SCRIPTREPOSITORY_H_
Code/Mantid/Framework/API/src/LinearScale.cpp
View file @
9fd8d1b1
...
...
@@ -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
...
...
Code/Mantid/Framework/API/src/LogManager.cpp
View file @
9fd8d1b1
...
...
@@ -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
;
...
...
Code/Mantid/Framework/API/src/LogarithmScale.cpp
View file @
9fd8d1b1
...
...
@@ -16,7 +16,7 @@ namespace {
Kernel
::
Logger
g_log
(
"LogarithmScale"
);
}
DECLARE_TRANSFORMSCALE
(
LogarithmScale
)
;
DECLARE_TRANSFORMSCALE
(
LogarithmScale
)
void
LogarithmScale
::
setBase
(
double
&
base
)
{
if
(
base
<=
0
)
{
...
...
Code/Mantid/Framework/API/test/CostFunctionFactoryTest.h
View file @
9fd8d1b1
...
...
@@ -38,7 +38,7 @@ public:
};
DECLARE_COSTFUNCTION
(
CostFunctionFactoryTest_A
,
nedtur
)
;
DECLARE_COSTFUNCTION
(
CostFunctionFactoryTest_A
,
nedtur
)
class
CostFunctionFactoryTest
:
public
CxxTest
::
TestSuite
...
...
Code/Mantid/Framework/API/test/FuncMinimizerFactoryTest.h
View file @
9fd8d1b1
...
...
@@ -33,7 +33,7 @@ public:
}
};
DECLARE_FUNCMINIMIZER
(
FuncMinimizerFactoryTest_A
,
nedtur
)
;
DECLARE_FUNCMINIMIZER
(
FuncMinimizerFactoryTest_A
,
nedtur
)
class
FuncMinimizerFactoryTest
:
public
CxxTest
::
TestSuite
...
...
Code/Mantid/Framework/API/test/FunctionFactoryTest.h
View file @
9fd8d1b1
...
...
@@ -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
{
...
...
Code/Mantid/Framework/API/test/FunctionParameterDecoratorTest.h
View file @
9fd8d1b1
...
...
@@ -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:
...
...
Code/Mantid/Framework/API/test/FunctionPropertyTest.h
View file @
9fd8d1b1
...
...
@@ -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
{
...
...
Code/Mantid/Framework/API/test/ImmutableCompositeFunctionTest.h
View file @
9fd8d1b1
...
...
@@ -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
...
...
Code/Mantid/Framework/API/test/MatrixWorkspaceTest.h
View file @
9fd8d1b1
...
...
@@ -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.
...
...
Code/Mantid/Framework/API/test/MultiDomainFunctionTest.h
View file @
9fd8d1b1
...
...
@@ -49,7 +49,7 @@ protected:
}
};
DECLARE_FUNCTION
(
MultiDomainFunctionTest_Function
)
;
DECLARE_FUNCTION
(
MultiDomainFunctionTest_Function
)
namespace
{
...
...
Code/Mantid/Framework/Algorithms/src/AppendSpectra.cpp
View file @
9fd8d1b1
...
...
@@ -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.
*/
...
...
Code/Mantid/Framework/Algorithms/src/AverageLogData.cpp
View file @
9fd8d1b1
...
...
@@ -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
{
...
...
Code/Mantid/Framework/Algorithms/src/CalculateDIFC.cpp
View file @
9fd8d1b1
...
...
@@ -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.
...
...
Code/Mantid/Framework/Algorithms/src/CalculateResolution.cpp
View file @
9fd8d1b1
...
...
@@ -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.
...
...
Code/Mantid/Framework/Algorithms/src/CalculateSlits.cpp
View file @
9fd8d1b1
...
...
@@ -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.
...
...
Code/Mantid/Framework/Algorithms/src/ChangeLogTime.cpp
View file @
9fd8d1b1
...
...
@@ -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
;
...
...
Code/Mantid/Framework/Algorithms/src/ClearInstrumentParameters.cpp
View file @
9fd8d1b1
...
...
@@ -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
{
...
...
Code/Mantid/Framework/Algorithms/src/ClearMaskFlag.cpp
View file @
9fd8d1b1
...
...
@@ -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"
;
}
...
...
Prev
1
2
3
4
5
…
16
Next
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