Bertram25/mana — comment on commit b9d53772f2b96b563bc01805f81b98f186b39953
File: src/resources/hairdb.cpp line 159
By o11c:

You're not allowed to decrement a temporary; whether it works or not depends on whether operator --() is implemented as a member or a freestanding function.

Use std::prev()