Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
70879f0a
Commit
70879f0a
authored
May 30, 2023
by
Shen-Ta Hsieh
Committed by
Max Kellermann
Jun 02, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
thread/WindowsFuture: remove wrong address_of operator
parent
bcb39362
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
NEWS
NEWS
+2
-0
WindowsFuture.hxx
src/thread/WindowsFuture.hxx
+1
-1
No files found.
NEWS
View file @
70879f0a
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
...
...
src/thread/WindowsFuture.hxx
View file @
70879f0a
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment