Fix warning about adapted argument list

This warning became an error in 2.11 since scala/scala#3260, when
-Xfuture is enabled.