diff options
| author | Lioncash <mathew1800@gmail.com> | 2018-09-14 01:43:59 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2018-09-14 01:44:02 -0400 |
| commit | da64da367b207a969fb00a8cbbc167a03bd57b4b (patch) | |
| tree | 428058541eb60bed18d388accdb7d122ee8d0fc2 /src/core/hle/service/sm/sm.h | |
| parent | 8e7497d5bb17b7e322d191cd103479972bcdb39b (diff) | |
services/sm: Amend error code constants
Courtesy of @ogniK5377.
This also moves them into the cpp file and limits the visibility to
where they're directly used. It also gets rid of unused or duplicate
error codes.
Diffstat (limited to 'src/core/hle/service/sm/sm.h')
| -rw-r--r-- | src/core/hle/service/sm/sm.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/core/hle/service/sm/sm.h b/src/core/hle/service/sm/sm.h index a58d922a0..da2c51082 100644 --- a/src/core/hle/service/sm/sm.h +++ b/src/core/hle/service/sm/sm.h @@ -36,12 +36,6 @@ private: std::shared_ptr<ServiceManager> service_manager; }; -constexpr ResultCode ERR_SERVICE_NOT_REGISTERED(-1); -constexpr ResultCode ERR_MAX_CONNECTIONS_REACHED(-1); -constexpr ResultCode ERR_INVALID_NAME_SIZE(-1); -constexpr ResultCode ERR_NAME_CONTAINS_NUL(-1); -constexpr ResultCode ERR_ALREADY_REGISTERED(-1); - class ServiceManager { public: static void InstallInterfaces(std::shared_ptr<ServiceManager> self); |
