Compare commits
3 Commits
v1.20
...
0e4c24a23d
Author | SHA1 | Date | |
---|---|---|---|
0e4c24a23d | |||
2e266fa5ee | |||
988e91555f |
@ -1,4 +1,4 @@
|
||||
# dtl
|
||||
# dtl - forked from [https://github.com/cubicdaiya/dtl](https://github.com/cubicdaiya/dtl)
|
||||
|
||||
`dtl` is the diff template library written in C++. The name of template is derived C++'s Template.
|
||||
|
||||
|
@ -164,7 +164,7 @@ namespace dtl {
|
||||
return trivial;
|
||||
}
|
||||
|
||||
void enableTrivial () const {
|
||||
void enableTrivial () {
|
||||
this->trivial = true;
|
||||
}
|
||||
|
||||
@ -283,7 +283,7 @@ namespace dtl {
|
||||
|
||||
editDistance += static_cast<long long>(delta) + 2 * p;
|
||||
long long r = path[delta+offset];
|
||||
P cordinate;
|
||||
P cordinate{};
|
||||
editPathCordinates epc(0);
|
||||
|
||||
// recording edit distance only
|
||||
@ -561,6 +561,8 @@ namespace dtl {
|
||||
trivial = false;
|
||||
editDistanceOnly = false;
|
||||
fp = NULL;
|
||||
ox = 0;
|
||||
oy = 0;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user