Remove a few unneeded parentheses, and use nullptr instead of NULL.