diff options
author | Lioncash <mathew1800@gmail.com> | 2018-08-02 05:50:45 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-08-02 05:50:48 +0200 |
commit | 89ebef65719a95cbd43385efde56d3e83fade290 (patch) | |
tree | 5bc3a31b972ffbb1dabea62596427e2892458d8f /src | |
parent | Merge pull request #888 from lioncash/caps (diff) | |
download | yuzu-89ebef65719a95cbd43385efde56d3e83fade290.tar yuzu-89ebef65719a95cbd43385efde56d3e83fade290.tar.gz yuzu-89ebef65719a95cbd43385efde56d3e83fade290.tar.bz2 yuzu-89ebef65719a95cbd43385efde56d3e83fade290.tar.lz yuzu-89ebef65719a95cbd43385efde56d3e83fade290.tar.xz yuzu-89ebef65719a95cbd43385efde56d3e83fade290.tar.zst yuzu-89ebef65719a95cbd43385efde56d3e83fade290.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/audio_core/sink_details.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/audio_core/sink_details.h b/src/audio_core/sink_details.h index aa8aae1a9..4f9027762 100644 --- a/src/audio_core/sink_details.h +++ b/src/audio_core/sink_details.h @@ -6,6 +6,7 @@ #include <functional> #include <memory> +#include <utility> #include <vector> namespace AudioCore { @@ -15,7 +16,7 @@ class Sink; struct SinkDetails { SinkDetails(const char* id_, std::function<std::unique_ptr<Sink>(std::string)> factory_, std::function<std::vector<std::string>()> list_devices_) - : id(id_), factory(factory_), list_devices(list_devices_) {} + : id(id_), factory(std::move(factory_)), list_devices(std::move(list_devices_)) {} /// Name for this sink. const char* id; |