Silence compiler warnings (-Wignored-qualifiers)

Remove the const from return type of the line() function since it has no
effect. This causes warnings under Clang  3.4.
Merge branch 'Wignored-qualifiers'