summaryrefslogtreecommitdiffstats
path: root/include/shard
diff options
context:
space:
mode:
Diffstat (limited to 'include/shard')
-rw-r--r--include/shard/VPTree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/shard/VPTree.h b/include/shard/VPTree.h
index bbb3e50..66b67e5 100644
--- a/include/shard/VPTree.h
+++ b/include/shard/VPTree.h
@@ -492,7 +492,7 @@ public:
std::vector<R> output;
while (pq.size() > 0) {
- output.emplace(*pq.peek().data);
+ output.emplace_back(*pq.peek().data);
pq.pop();
}