diff options
author | archshift <admin@archshift.com> | 2015-02-17 15:15:04 -0800 |
---|---|---|
committer | archshift <admin@archshift.com> | 2015-02-22 12:19:30 -0800 |
commit | 0420a4d1de2919dce2eb3594e0d0c9984c63737a (patch) | |
tree | 3c98ec9b8ef86c68b8ee8a5f996b40f3854f2988 /src/common | |
parent | ec8f2210e3d437b93313f2565170fde393fcaae5 (diff) |
Added information reporting from ThrowFatalError
This was RE'd from the errdisp applet.
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/common_funcs.h | 2 | ||||
-rw-r--r-- | src/common/logging/backend.cpp | 1 | ||||
-rw-r--r-- | src/common/logging/log.h | 1 |
3 files changed, 2 insertions, 2 deletions
diff --git a/src/common/common_funcs.h b/src/common/common_funcs.h index 4bbcc35717..28ccebc155 100644 --- a/src/common/common_funcs.h +++ b/src/common/common_funcs.h @@ -14,8 +14,6 @@ #define SLEEP(x) usleep(x*1000) #endif -template <bool> struct CompileTimeAssert; -template<> struct CompileTimeAssert<true> {}; #define b2(x) ( (x) | ( (x) >> 1) ) #define b4(x) ( b2(x) | ( b2(x) >> 2) ) diff --git a/src/common/logging/backend.cpp b/src/common/logging/backend.cpp index 8fee20a83d..7c1010b225 100644 --- a/src/common/logging/backend.cpp +++ b/src/common/logging/backend.cpp @@ -33,6 +33,7 @@ static std::shared_ptr<Logger> global_logger; CLS(Service) \ SUB(Service, SRV) \ SUB(Service, FS) \ + SUB(Service, ERR) \ SUB(Service, APT) \ SUB(Service, GSP) \ SUB(Service, AC) \ diff --git a/src/common/logging/log.h b/src/common/logging/log.h index 6c5ca39688..7b67b3c074 100644 --- a/src/common/logging/log.h +++ b/src/common/logging/log.h @@ -53,6 +53,7 @@ enum class Class : ClassType { /// should have its own subclass. Service_SRV, ///< The SRV (Service Directory) implementation Service_FS, ///< The FS (Filesystem) service implementation + Service_ERR, ///< The ERR (Error) port implementation Service_APT, ///< The APT (Applets) service Service_GSP, ///< The GSP (GPU control) service Service_AC, ///< The AC (WiFi status) service |