bool value don't have to add const. Did you want to add it at the end of function?