Closed mskeffingtonroku closed 2 years ago
This warning is generated by gcc12
Do you have a minimal example that triggers this error? I would like to add a regression test, but have not been able to reproduce it yet.
Does it also work is you move the two parameters? E.g. auto value = std::make_pair(std::move(key), std::move(value))
. If so, we can avoid some unnecessary copying.
This was generated building Strom with gcc12. Using move works. Good alternative!
Fixed in 9b764e9ce4548ea514a1cfc862208ba4195d85f7.
You may need to talk to Jacob Pedersen to upgrade Strom.
this patch solves it