Commit 70879f0a authored by Shen-Ta Hsieh's avatar Shen-Ta Hsieh Committed by Max Kellermann

thread/WindowsFuture: remove wrong address_of operator

parent bcb39362
ver 0.23.14 (not yet released)
* decoder
- mad: fix calculation of LAME peak values
* mixer
- wasapi: fix problem setting volume
ver 0.23.13 (2023/05/22)
* input
......
......@@ -130,7 +130,7 @@ public:
void set_value(const T &value) {
std::unique_lock<CriticalSection> lock(mutex);
if (!std::holds_alternative<std::monostate>(&result)) {
if (!std::holds_alternative<std::monostate>(result)) {
throw WinFutureError(WinFutureErrc::promise_already_satisfied);
}
result.template emplace<T>(value);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment