commit | f1aa52389ae664efdbab327d966947b41571eeaf | [log] [tgz] |
---|---|---|
author | Vince Lehman <vslehman@memphis.edu> | Mon Oct 06 17:57:35 2014 -0500 |
committer | Vince Lehman <vslehman@memphis.edu> | Wed Oct 08 12:51:25 2014 -0700 |
tree | 75ec0e90475b4845d172e88630406ea195a670d5 | |
parent | 0913112f4ad33ee354545d68d707f15d5e5015d3 [diff] [blame] |
src: Sort names before std::set_difference refs: #2029 Change-Id: I170f17cd69fd5a109913c6ebe9a13ab5552132a3
diff --git a/src/lsdb.cpp b/src/lsdb.cpp index 427cc0b..0b7e4e7 100644 --- a/src/lsdb.cpp +++ b/src/lsdb.cpp
@@ -152,6 +152,9 @@ } } } + + chkNameLsa->getNpl().sort(); + std::list<ndn::Name> nameToRemove; std::set_difference(chkNameLsa->getNpl().getNameList().begin(), chkNameLsa->getNpl().getNameList().end(),