Max Kellermann 907af2ad02 Permission: refactor getPermissionFromPassword() to return std::optional
This replaces the output parameter (which is bad API design).  As a
side effect, it fixes the bad [[gnu::pure]] attribute added by commit
a636d2127 which caused optimizing compilers to miscompile calls to
that function.  "Pure" functions can be assumed to have no output
arguments, so the compiler can assume the function doesn't modify
them.

Closes https://github.com/MusicPlayerDaemon/MPD/issues/1282
2021-10-17 19:58:50 +02:00
..
2021-10-13 12:07:05 +02:00
2021-10-13 12:07:05 +02:00
2021-03-10 21:06:12 +01:00
2021-10-13 12:07:05 +02:00
2021-10-13 12:07:05 +02:00
2021-10-13 12:07:05 +02:00
2021-09-07 21:13:22 -07:00
2021-10-13 12:07:05 +02:00
2021-10-13 14:48:16 +02:00
2021-10-13 16:37:56 +02:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00
2021-05-19 18:43:19 +02:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00
2021-08-16 21:05:56 -07:00
2021-10-13 12:07:05 +02:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00
2021-10-13 12:07:05 +02:00
2021-10-13 18:55:05 +02:00
2021-01-01 19:54:28 +01:00
2021-10-13 12:07:05 +02:00
2021-10-13 12:07:05 +02:00
2021-01-01 19:54:28 +01:00
2021-10-13 12:07:05 +02:00
2021-01-01 19:54:28 +01:00
2021-10-13 12:07:05 +02:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00
2021-10-13 12:07:05 +02:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00
2021-10-13 12:07:05 +02:00
2021-10-13 12:07:05 +02:00
2021-01-01 19:54:28 +01:00
2021-10-13 12:07:05 +02:00
2021-01-01 19:54:28 +01:00
2021-10-13 12:07:05 +02:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:59:15 +01:00
2021-01-01 19:54:28 +01:00
2021-01-01 19:54:28 +01:00