Remove use of raw bare pointers (*T -> *const T)

fixed