diff --git a/src/lib/time/control-policy.hpp b/src/lib/time/control-policy.hpp index a941c3c96..7ffed6426 100644 --- a/src/lib/time/control-policy.hpp +++ b/src/lib/time/control-policy.hpp @@ -234,7 +234,7 @@ namespace mutation { */ template struct Link - : Mutator + : Mutation , Builder { @@ -255,15 +255,15 @@ namespace mutation { static TI mutateLength (TimeSpan& target, Duration const& change) { - Mutator::imposeChange (target.duration(), change); + imposeChange (target.duration(), change); return Builder::buildChangedValue(target); } static TimeSpan mutateTimeSpan (TimeSpan& target, TimeSpan const& change) { - Mutator::imposeChange (target.duration(), change.duration()); - Mutator::imposeChange (target,change.start()); + imposeChange (target.duration(), change.duration()); + imposeChange (target,change.start()); return Builder::buildChangedValue(target); } diff --git a/src/lib/time/control.hpp b/src/lib/time/control.hpp index cbac65d33..486097934 100644 --- a/src/lib/time/control.hpp +++ b/src/lib/time/control.hpp @@ -94,6 +94,8 @@ ** the change, which might or might not reflect the change value passed in. ** ** @todo include support for QuTimeSpan values ////////////////////TICKET #760 + ** + ** @see TimeControl_test ** */