Enable -Wold-style-cast in Adaptor