Fix assert on temporary std::initializer_list.