1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-13 19:25:38 +02:00

Fix for index merge problem

This commit is contained in:
Bogdan Gheorghe 2004-11-02 21:22:55 +00:00
parent 0b1094160f
commit 762fd380d3
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2004-11-02 Bogdan Gheorghe
Fixed a bug in the index merge.
* index/org/eclipse/cdt/internal/core/index/impl/MergeFactory.java
2004-11-02 Bogdan Gheorghe 2004-11-02 Bogdan Gheorghe
Partial Fix for Bug 74427: Indexer needs to store more info Partial Fix for Bug 74427: Indexer needs to store more info

View file

@ -210,6 +210,7 @@ public class MergeFactory {
addsInput.moveToNextWordEntry(); addsInput.moveToNextWordEntry();
} else { } else {
word1.catRefs(word1); word1.catRefs(word1);
word2.catRefs(word2);
word1.mapRefs(mappingOld); word1.mapRefs(mappingOld);
word2.mapRefs(mappingAdds); word2.mapRefs(mappingAdds);
word1.addRefs(word2.getRefs(),word2.getRefsIndexFlags()); word1.addRefs(word2.getRefs(),word2.getRefsIndexFlags());