Enforced const-correctness
Merge pull request #1 from pierluca/master

Enforced const-correctness