2015-08-16 21:01:56 +00:00
|
|
|
#include "FloatDiff.h"
|
|
|
|
|
2015-11-09 21:30:46 +00:00
|
|
|
FloatDiff::FloatDiff(const DefinitionNode *node, double oldvalue, double newvalue)
|
|
|
|
: DefinitionDiff(node), oldvalue(oldvalue), newvalue(newvalue) {
|
2015-08-16 21:01:56 +00:00
|
|
|
}
|
2015-12-13 19:32:26 +00:00
|
|
|
|
|
|
|
FloatDiff::FloatDiff(const FloatDiff *other, double oldvalue, double newvalue)
|
|
|
|
: DefinitionDiff(other), oldvalue(oldvalue), newvalue(newvalue) {
|
|
|
|
}
|
|
|
|
|
|
|
|
DefinitionDiff *FloatDiff::newReversed() const {
|
|
|
|
return new FloatDiff(this, newvalue, oldvalue);
|
|
|
|
}
|