Remove unneeded rvalue cast