Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Aug 16, 2023. It is now read-only.
This repository was archived by the owner on Aug 16, 2023. It is now read-only.

std::_bind is not compatible with std::function #7

Copy link
Copy link
@SmartyNance

Description

@SmartyNance
Issue body actions

if (error == AAUDIO_ERROR_DISCONNECTED){
std::function<void(void)>

restartFunction = std::bind(&AudioEngine::restart,
static_cast<AudioEngine *>(userData));

        new std::thread(restartFunction);
}

Went over the whole file multiple times, and I can't find any difference from what is in your tutorial, but the block of text in the middle always shows an error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.