projects
/
trackerpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix nan issue in features
[trackerpp.git]
/
src
/
Tracker.cpp
diff --git
a/src/Tracker.cpp
b/src/Tracker.cpp
index
37595b4
..
2d4f2b0
100644
(file)
--- a/
src/Tracker.cpp
+++ b/
src/Tracker.cpp
@@
-50,7
+50,7
@@
void Tracker::addPatch(PatchPtr p)
{
patches.insert(patches.begin(), p);
if (patches.size() > MaxPatch){
{
patches.insert(patches.begin(), p);
if (patches.size() > MaxPatch){
- patches.
erase(patches.end()
);
+ patches.
pop_back(
);
}
}
}
}