apply: tighten constness of line buffer