https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109688
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |INVALID --- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> --- https://github.com/gabime/spdlog/blob/e593f6695c6065e6b345fe2862f04a519ed484e0/example/example.cpp#L283 This function needs to be const as Tim noticed.