jbeder / yaml-cpp

A YAML parser and emitter in C++
MIT License
4.91k stars 1.77k forks source link

Avoid static reference to temporary #1278

Closed frankosterfeld closed 1 month ago

frankosterfeld commented 2 months ago

These caused issues when used in a wasm project.

Seen in https://github.com/fair-acc/graph-prototype/pull/308, where it failed on exit when executing the wasm unit test)

nigels-com commented 2 months ago

Looks legit.