Does anyone know how to pass a const to a function?