Forked from
Utils / KWSys
Source project has a limited visibility.
-
Ben Boeckel authored
Rather than doing str[str.size() - 1], save pointer arithmetic and just use the .rbegin() iterator to get the last element of a container. Change-Id: Iad5cffce4da4d714f19d93273ee1193a576b8f87
Ben Boeckel authoredRather than doing str[str.size() - 1], save pointer arithmetic and just use the .rbegin() iterator to get the last element of a container. Change-Id: Iad5cffce4da4d714f19d93273ee1193a576b8f87