diff options
author | Lioncash <mathew1800@gmail.com> | 2018-07-19 17:39:39 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-07-19 17:40:36 +0200 |
commit | dc35c3f9d751ff100d7d4c1ccd599574ce73254f (patch) | |
tree | 6d4772020efd5d72eee558db939f2aa25dcfc4ac /src/core/hle/service/nvdrv/nvdrv.h | |
parent | Merge pull request #699 from lioncash/vfs (diff) | |
download | yuzu-dc35c3f9d751ff100d7d4c1ccd599574ce73254f.tar yuzu-dc35c3f9d751ff100d7d4c1ccd599574ce73254f.tar.gz yuzu-dc35c3f9d751ff100d7d4c1ccd599574ce73254f.tar.bz2 yuzu-dc35c3f9d751ff100d7d4c1ccd599574ce73254f.tar.lz yuzu-dc35c3f9d751ff100d7d4c1ccd599574ce73254f.tar.xz yuzu-dc35c3f9d751ff100d7d4c1ccd599574ce73254f.tar.zst yuzu-dc35c3f9d751ff100d7d4c1ccd599574ce73254f.zip |
Diffstat (limited to 'src/core/hle/service/nvdrv/nvdrv.h')
-rw-r--r-- | src/core/hle/service/nvdrv/nvdrv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/nvdrv/nvdrv.h b/src/core/hle/service/nvdrv/nvdrv.h index 579940817..35b2c65fc 100644 --- a/src/core/hle/service/nvdrv/nvdrv.h +++ b/src/core/hle/service/nvdrv/nvdrv.h @@ -30,7 +30,7 @@ public: /// Returns a pointer to one of the available devices, identified by its name. template <typename T> - std::shared_ptr<T> GetDevice(std::string name) { + std::shared_ptr<T> GetDevice(const std::string& name) { auto itr = devices.find(name); if (itr == devices.end()) return nullptr; |