Skip to content

Commit

Permalink
refs #4328. Fix nested enum usage warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
OwenArnold committed Jan 4, 2012
1 parent d5b9a01 commit 9854b07
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ namespace MantidQt
/// Destructor
virtual ~WorkspaceMemento(){};
/// Common implementation for generating status
const WorkspaceMemento::Status generateStatus() const;
const Status generateStatus() const;

private:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ namespace MantidQt
{
namespace CustomInterfaces
{
typedef WorkspaceMemento::Status Status;

/// Constructor
WorkspaceMemento::WorkspaceMemento() : m_ub(0)
{
Expand All @@ -23,7 +25,7 @@ namespace MantidQt
Common implementation of status generation.
@return status.
*/
const WorkspaceMemento::Status WorkspaceMemento::generateStatus() const
const Status WorkspaceMemento::generateStatus() const
{
Status status;
if(m_ub.empty())
Expand Down

0 comments on commit 9854b07

Please sign in to comment.