minor style corrections

removed const & for simple variable types
removed void from argument list