Remove ptr to compile with latest nightly
Merge pull request #5 from torhve/master

Remove ptr to compile with latest nightly