Fixed constructor to use move constructors.
This commit is contained in:
@@ -17,8 +17,9 @@ namespace ehs
|
||||
{
|
||||
}
|
||||
|
||||
Spotify::Spotify(const Str_8& clientId, const Str_8& secret, const Str_8& redURI, const Array<Str_8>& scopes, const bool forceVerify)
|
||||
: client(AddrType::IPV4), clientId(clientId), secret(secret), redURI(redURI), scopes(scopes), forceVerify(forceVerify)
|
||||
Spotify::Spotify(Str_8 clientId, Str_8 secret, Str_8 redURI, Array<Str_8> scopes, const bool forceVerify)
|
||||
: client(AddrType::IPV4), clientId((Str_8 &&)clientId), secret((Str_8 &&)secret), redURI((Str_8 &&)redURI),
|
||||
scopes((Array<Str_8> &&)scopes), forceVerify(forceVerify)
|
||||
{
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user