Do not pass in unique_ptr by r-value reference

This commit is contained in:
sakertooth
2023-09-26 12:16:41 -04:00
parent 447045497f
commit b3245775ec
2 changed files with 2 additions and 2 deletions

View File

@@ -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 );