Skip to content

Commit d135688

Browse files
committed
Fix use after move.
1 parent 734e5f3 commit d135688

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ift/encoder/complex_condition_finder.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -290,9 +290,9 @@ StatusOr<btree_map<SegmentSet, GlyphSet>> FindMinimalDisjunctiveConditionsFor(
290290
// glyphs, preload these into the output and schedule the initial tasks
291291
// excluding those segments.
292292
btree_map<glyph_id_t, SegmentSet> glyph_to_conditions;
293-
TRYV(context.ScheduleInitialTasks(
294-
std::move(glyphs),
295-
ExistingConditions(glyph_condition_set, glyphs, glyph_to_conditions)));
293+
flat_hash_map<SegmentSet, GlyphSet> existing_conditions =
294+
ExistingConditions(glyph_condition_set, glyphs, glyph_to_conditions);
295+
TRYV(context.ScheduleInitialTasks(std::move(glyphs), existing_conditions));
296296

297297
TRYV(context.ProcessQueue(glyph_to_conditions));
298298

0 commit comments

Comments
 (0)