Unverified Commit b3a43d13 authored by Laramie Leavitt's avatar Laramie Leavitt Committed by GitHub
Browse files

Use rvalue reference for std::variant cast_op<T> (#3811)

Nearly every call site of cast_op<T> uses an r-value reference.

Except stl.h variant_caster::load_alternative for handling std::variant.

Fix that.
parent 8b1944d3
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment