File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -528,11 +528,11 @@ TEST(FileShardedIndexTest, Sharding) {
528
528
B.insert (Sym1);
529
529
// Should be stored in both b.h and b.cc
530
530
B.insert (Sym2);
531
- IF.Symbols = std::move (B).build ();
531
+ IF.Symbols . emplace ( std::move (B).build () );
532
532
}
533
533
{
534
534
// Should be stored in b.cc
535
- IF.Refs = std::move (*refSlab (Sym1.ID , BSourceUri.c_str ()));
535
+ IF.Refs . emplace ( std::move (*refSlab (Sym1.ID , BSourceUri.c_str () )));
536
536
}
537
537
{
538
538
RelationSlab::Builder B;
@@ -542,7 +542,7 @@ TEST(FileShardedIndexTest, Sharding) {
542
542
B.insert (Relation{Sym2.ID , RelationKind::BaseOf, Sym1.ID });
543
543
// Dangling relation should be dropped.
544
544
B.insert (Relation{symbol (" 3" ).ID , RelationKind::BaseOf, Sym1.ID });
545
- IF.Relations = std::move (B).build ();
545
+ IF.Relations . emplace ( std::move (B).build () );
546
546
}
547
547
548
548
IF.Sources .emplace ();
You can’t perform that action at this time.
0 commit comments