Skip to content

Commit

Permalink
Refs #5827 add empty curly braces to destructors
Browse files Browse the repository at this point in the history
  • Loading branch information
jmborr committed Sep 2, 2012
1 parent afb7741 commit ef54586
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Code/Mantid/Framework/API/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ set ( SRC_FILES
# src/GridDomain.cpp
# src/GridDomain1D.cpp
# src/TransformScaleFactory.cpp
# src/LinearScale.cpp
src/LinearScale.cpp
# src/LogarithmScale.cpp
src/Algorithm.cpp
src/AlgorithmFactory.cpp
Expand Down Expand Up @@ -117,9 +117,9 @@ set ( INC_FILES
# inc/MantidAPI/BoxCtrlChangesInterface.h
# inc/MantidAPI/GridDomain.h
# inc/MantidAPI/GridDomain1D.h
# inc/MantidAPI/ITransformScale.h
inc/MantidAPI/ITransformScale.h
# inc/MantidAPI/TransformScaleFactory.h
# inc/MantidAPI/LinearScale.h
inc/MantidAPI/LinearScale.h
# inc/MantidAPI/LogarithmScale.h
inc/MantidAPI/Algorithm.h
inc/MantidAPI/AlgorithmFactory.h
Expand Down
4 changes: 2 additions & 2 deletions Code/Mantid/Framework/API/inc/MantidAPI/ITransformScale.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ namespace API
class MANTID_API_DLL ITransformScale
{
public:
/// Virtual destructor
virtual ~ITransformScale();
/// Virtual destructor needed for an abstract class
virtual ~ITransformScale() {};
virtual const std::string name() const { return "ITransformScale"; }
/// The scaling transformation. Define in derived classes
virtual void transform( std::vector<double> &gd ) = 0;
Expand Down
2 changes: 1 addition & 1 deletion Code/Mantid/Framework/API/inc/MantidAPI/LinearScale.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class MANTID_API_DLL LinearScale : public API::ITransformScale
{
public:
LinearScale();
virtual ~LinearScale();
virtual ~LinearScale() {};
/// The scaling transformation. First and last elements of the grid remain unchanged
virtual const std::string name() const { return "LinearScale"; }
virtual void transform( std::vector<double> &gd );
Expand Down

0 comments on commit ef54586

Please sign in to comment.