Skip to content

Commit

Permalink
Have TimeSeriesProperty return an empty default rather than throwing.
Browse files Browse the repository at this point in the history
This seems more reasonable as thats what really happens.
Refs #9045
  • Loading branch information
martyngigg authored and RussellTaylor committed Feb 25, 2014
1 parent 0c26690 commit 8feccc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Code/Mantid/Framework/Kernel/src/TimeSeriesProperty.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1674,7 +1674,7 @@ namespace Mantid
template<typename TYPE>
std::string TimeSeriesProperty<TYPE>::getDefault() const
{
throw Exception::NotImplementedError("TimeSeries properties don't have defaults");
return ""; // No defaults can be provided=empty string
}

/**
Expand Down

0 comments on commit 8feccc5

Please sign in to comment.