Fix warning: "const type qualifier on return type has no effect".
Merge pull request #403 from SaberUK/insp20+wextra-fixes

Fix warning: "const type qualifier on return type has no effect".