summaryrefslogtreecommitdiff
path: root/src/core/hle
diff options
context:
space:
mode:
authorGravatar Lioncash2020-08-07 07:55:50 -0400
committerGravatar Lioncash2020-08-07 08:09:57 -0400
commit8e86fa7e6033d7d65c781eb332d5d750f7ef4e26 (patch)
tree8c22b7d574b92de9077dc9c0e1d05fa2947b34b5 /src/core/hle
parentMerge pull request #4483 from lioncash/constexpr-hex (diff)
downloadyuzu-8e86fa7e6033d7d65c781eb332d5d750f7ef4e26.tar.gz
yuzu-8e86fa7e6033d7d65c781eb332d5d750f7ef4e26.tar.xz
yuzu-8e86fa7e6033d7d65c781eb332d5d750f7ef4e26.zip
common/concepts: Rename IsBaseOf to DerivedFrom
This makes it more inline with its currently unavailable standardized analogue std::derived_from. While we're at it, we can also make the template match the requirements of the standardized variant as well.
Diffstat (limited to 'src/core/hle')
-rw-r--r--src/core/hle/service/sm/sm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/sm/sm.h b/src/core/hle/service/sm/sm.h
index b526a94fe..aabf166b7 100644
--- a/src/core/hle/service/sm/sm.h
+++ b/src/core/hle/service/sm/sm.h
@@ -57,7 +57,7 @@ public:
57 ResultVal<std::shared_ptr<Kernel::ClientPort>> GetServicePort(const std::string& name); 57 ResultVal<std::shared_ptr<Kernel::ClientPort>> GetServicePort(const std::string& name);
58 ResultVal<std::shared_ptr<Kernel::ClientSession>> ConnectToService(const std::string& name); 58 ResultVal<std::shared_ptr<Kernel::ClientSession>> ConnectToService(const std::string& name);
59 59
60 template <Common::IsBaseOf<Kernel::SessionRequestHandler> T> 60 template <Common::DerivedFrom<Kernel::SessionRequestHandler> T>
61 std::shared_ptr<T> GetService(const std::string& service_name) const { 61 std::shared_ptr<T> GetService(const std::string& service_name) const {
62 auto service = registered_services.find(service_name); 62 auto service = registered_services.find(service_name);
63 if (service == registered_services.end()) { 63 if (service == registered_services.end()) {