glandium wrote:
This caused some breakage in something completely unrelated to operator= O_o
This is from webrtc code in Firefox:
```
/tmp/gecko/third_party/libwebrtc/rtc_base/containers/flat_map.h:331:49: error:
out-of-line definition of 'try_emplace' does not match any declaration in
'flat_map<Key, Mapped, Compare, Container>'
331 | auto flat_map<Key, Mapped, Compare, Container>::try_emplace(K&& key,
| ^~~~~~~~~~~
/tmp/gecko/third_party/libwebrtc/rtc_base/containers/flat_map.h:343:49: error:
out-of-line definition of 'try_emplace' does not match any declaration in
'flat_map<Key, Mapped, Compare, Container>'
343 | auto flat_map<Key, Mapped, Compare,
Container>::try_emplace(const_iterator hint,
| ^~~~~~~~~~~
2 errors generated.
```
The lines with error are:
https://searchfox.org/mozilla-central/rev/c34cf367c29601ed56ae4ea51e20b28cd8331f9c/third_party/libwebrtc/rtc_base/containers/flat_map.h#331,343
The corresponding declarations are:
https://searchfox.org/mozilla-central/rev/c34cf367c29601ed56ae4ea51e20b28cd8331f9c/third_party/libwebrtc/rtc_base/containers/flat_map.h#243,248
I don't see how they differ.
https://github.com/llvm/llvm-project/pull/91498
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits