ddda6ae776
clear() when empty is simply a no-op, so we can get rid of the check here and let the stdlib do it for us.
clear() when empty is simply a no-op, so we can get rid of the check here and let the stdlib do it for us.