Skip to content

Commit

Permalink
Re #8023. Moving code from header to source.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterfpeterson committed Oct 10, 2013
1 parent 0f5c962 commit 4a324a2
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ namespace MDAlgorithms
~ConvertToMD();

/// Algorithm's name for identification
virtual const std::string name() const { return "ConvertToMD";};
virtual const std::string name() const;
/// Algorithm's version for identification
virtual int version() const { return 1;};
virtual int version() const;
/// Algorithm's category for identification
virtual const std::string category() const { return "MDAlgorithms";}
virtual const std::string category() const;


private:
Expand Down
16 changes: 16 additions & 0 deletions Code/Mantid/Framework/MDAlgorithms/src/ConvertToMD.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,22 @@ inline bool isNaN(T val)
volatile T buf=val;
return (val!=buf);
}

const std::string ConvertToMD::name() const
{
return "ConvertToMD";
}

int ConvertToMD::version() const
{
return 1;
}

const std::string ConvertToMD::category() const
{
return "MDAlgorithms";
}

//----------------------------------------------------------------------------------------------
/** Initialize the algorithm's properties.
*/
Expand Down

0 comments on commit 4a324a2

Please sign in to comment.