File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -1588,21 +1588,6 @@ namespace Sass {
1588
1588
// a selector schema may or may not connect to parent?
1589
1589
bool chroot = s->connect_parent () == false ;
1590
1590
Selector_List_Obj sl = p.parse_selector_list (chroot);
1591
- auto vec_str_rend = ctx.strings .rend ();
1592
- auto vec_str_rbegin = ctx.strings .rbegin ();
1593
- // remove the first item searching from the back
1594
- // we cannot assume our item is still the last one
1595
- // order is not important, so we can optimize this
1596
- auto it = std::find (vec_str_rbegin, vec_str_rend, temp_cstr);
1597
- // undefined behavior if not found!
1598
- if (it != vec_str_rend) {
1599
- // overwrite with last item
1600
- *it = ctx.strings .back ();
1601
- // remove last one from vector
1602
- ctx.strings .pop_back ();
1603
- // free temporary copy
1604
- free (temp_cstr);
1605
- }
1606
1591
flag_is_in_selector_schema.reset ();
1607
1592
return operator ()(sl);
1608
1593
}
You can’t perform that action at this time.
0 commit comments