Commit [350875] default Maximize Restore History

RunStyles can be corrupted by filling 0 length ranges and ranges that go past end

so throw std::invalid_argument exceptions for these conditions.
Provide a Check method to validate the consistency of a RunStyles and throw
std::runtime_error if corruption is detected.

nyamatongwe nyamatongwe 2013-04-15

changed src/RunStyles.h
changed src/RunStyles.cxx
changed test/unit/testRunStyles.cxx
src/RunStyles.h Diff Switch to side-by-side view
Loading...
src/RunStyles.cxx Diff Switch to side-by-side view
Loading...
test/unit/testRunStyles.cxx Diff Switch to side-by-side view
Loading...