Skip to content
Snippets Groups Projects
Commit dc2bb76f authored by Timo Koch's avatar Timo Koch
Browse files

[gridwriter] Fix return type in forwarding function

This makes the function work for std::vector<bool>. T is bool
but values[0] returns (non-standard-compliant in some impl.) some proxy reference class
even if the container is const. Explicitly converting to T (or generally for ranges
std::ranges::range_value_t)  works.
Thed default return type would be auto which also returns by value.
parent 3b980256
No related branches found
No related tags found
1 merge request!3935[gridwriter] Fix return type in forwarding function
Pipeline #54019 passed
+3
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment