JPNaude / Qtilities

Building blocks for Qt applications
http://jpnaude.github.io/Qtilities/
Other
137 stars 39 forks source link

Switch the "major" macros to use static_cast internally #124

Closed JesseTG closed 8 years ago

JesseTG commented 8 years ago

static_cast is a much better thing to use than C-style casts.

Other casts have not been changed because I'm planning a PR that changes all instances of NULL and 0 (when used as a pointer) to nullptr; most C-style casts are for null pointers in this code base anyway.