Remove use of raw bare pointers (*T -> *const T)
Merge pull request #322 from ebfe/fix-build-master

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