commit | de2118ed7a998a1df9b28fd1be96b4af89ed82c3 | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <behdad@behdad.org> | Tue Feb 17 17:27:44 2015 +0300 |
committer | Behdad Esfahbod <behdad@behdad.org> | Wed Feb 25 15:43:28 2015 -0800 |
tree | 8c3aaeddee2642d1c679c73456ffc52c480b76da | |
parent | 6759ed95a3bec2874826376b68ebff19ba277ef2 [diff] |
Make sanitize() a const method This makes a lot of code safer. We only try modifying the object in one place, after making sure it's safe to do so. So, do a const_cast<> in that one place...