- vsize lo = 0;
- vsize hi = newline_locations_.size ();
-
- if (newline_locations_[lo] > pos_str0)
- return 1;
-
- if (newline_locations_[hi - 1] < pos_str0)
- return hi;
-
- lo = lower_bound (newline_locations_,
- pos_str0,
- less<char const*> (),
- lo, hi);
+ /* this will find the '\n' character at the end of our line */
+ vsize lo = lower_bound (newline_locations_,
+ pos_str0,
+ less<char const*> ());