Do not pass in unique_ptr by r-value reference
This commit is contained in:
@@ -77,7 +77,7 @@ public:
|
||||
|
||||
bool isPlaying() const;
|
||||
void setIsPlaying(bool isPlaying);
|
||||
void setSampleBuffer(std::unique_ptr<SampleBuffer>&& sb);
|
||||
void setSampleBuffer(std::unique_ptr<SampleBuffer> sb);
|
||||
|
||||
public slots:
|
||||
void setSampleFile( const QString & sf );
|
||||
|
||||
Reference in New Issue
Block a user