summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-07-19 22:27:48 +0200
committerGitHub <noreply@github.com>2018-07-19 22:27:48 +0200
commiteb9b55eafe822b1f14b298969c10aa6047e432af (patch)
tree9a15be97af4607466a375ed6b33c9674c73933ae /src
parentMerge pull request #720 from Subv/getentrytype_root (diff)
parentnvdrv: Take std::string by const reference in GetDevice() (diff)
downloadyuzu-eb9b55eafe822b1f14b298969c10aa6047e432af.tar
yuzu-eb9b55eafe822b1f14b298969c10aa6047e432af.tar.gz
yuzu-eb9b55eafe822b1f14b298969c10aa6047e432af.tar.bz2
yuzu-eb9b55eafe822b1f14b298969c10aa6047e432af.tar.lz
yuzu-eb9b55eafe822b1f14b298969c10aa6047e432af.tar.xz
yuzu-eb9b55eafe822b1f14b298969c10aa6047e432af.tar.zst
yuzu-eb9b55eafe822b1f14b298969c10aa6047e432af.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/nvdrv/nvdrv.h2
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;