File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -707,12 +707,4 @@ StatusOr<GlyphSegmentation> ClosureGlyphSegmenter::CodepointToGlyphSegments(
707707 return absl::InternalError (" unreachable" );
708708}
709709
710- void GlyphSegmentation::CopySegments (
711- const std::vector<hb_set_unique_ptr>& segments) {
712- segments_.clear ();
713- for (const auto & set : segments) {
714- segments_.push_back (to_btree_set (set.get ()));
715- }
716- }
717-
718- } // namespace ift::encoder
710+ } // namespace ift::encoder
Original file line number Diff line number Diff line change @@ -436,4 +436,12 @@ EncoderConfig GlyphSegmentation::ToConfigProto() const {
436436 return config;
437437}
438438
439+ void GlyphSegmentation::CopySegments (
440+ const std::vector<common::hb_set_unique_ptr>& segments) {
441+ segments_.clear ();
442+ for (const auto & set : segments) {
443+ segments_.push_back (common::to_btree_set (set.get ()));
444+ }
445+ }
446+
439447} // namespace ift::encoder
You can’t perform that action at this time.
0 commit comments