Closed megahallon closed 1 year ago
Okay, then we need to revert this part. Thanks for reporting it!
Note that the change in #510 is fine, but together with the double braces (that were already there) this issue happens.
I think I fixed the issue. Please let me know if I haven't. Thanks for reporting this!
Thanks it works fine now
After the fix in #510 I can not build with g++ 11.2, it seems to be caused by the extra braces around the map initializer. This is possibly a compiler bug, it obviously works with various other compilers. The exact version I am using is: g++ (GCC) 11.2.1 20220127 (Red Hat 11.2.1-9)
Anyway the extra braces are not needed as far as I can tell.
Originally posted by @megahallon in https://github.com/ArthurSonzogni/FTXUI/issues/510#issuecomment-1324839901