input/tidal: pass std::string by value
Don't keep any references to the owner, as the handler method may delete the owner.
This commit is contained in:
@@ -38,7 +38,7 @@ class CurlRequest;
|
||||
*/
|
||||
class TidalLoginHandler {
|
||||
public:
|
||||
virtual void OnTidalLoginSuccess(std::string &&session) noexcept = 0;
|
||||
virtual void OnTidalLoginSuccess(std::string session) noexcept = 0;
|
||||
virtual void OnTidalLoginError(std::exception_ptr error) noexcept = 0;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user