Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
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
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Иван Мажукин
  • mpd
  • Repository

Switch branch/tag
  • mpd
  • src
  • Permission.hxx
Find file
BlameHistoryPermalink
  • Max Kellermann's avatar
    Permission: refactor getPermissionFromPassword() to return std::optional · 907af2ad
    Max Kellermann authored Oct 17, 2021
    This replaces the output parameter (which is bad API design).  As a
    side effect, it fixes the bad [[gnu::pure]] attribute added by commit
    a636d212 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
    907af2ad
Permission.hxx 1.7 KB
EditWeb IDE

Replace Permission.hxx

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.