summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/logging/backend.cpp1
-rw-r--r--src/common/logging/log.h3
-rw-r--r--src/common/math_util.h10
3 files changed, 8 insertions, 6 deletions
diff --git a/src/common/logging/backend.cpp b/src/common/logging/backend.cpp
index ecb265a47..c6a21d993 100644
--- a/src/common/logging/backend.cpp
+++ b/src/common/logging/backend.cpp
@@ -193,6 +193,7 @@ void FileBackend::Write(const Entry& entry) {
193 SUB(Service, PCTL) \ 193 SUB(Service, PCTL) \
194 SUB(Service, PCV) \ 194 SUB(Service, PCV) \
195 SUB(Service, PREPO) \ 195 SUB(Service, PREPO) \
196 SUB(Service, PSC) \
196 SUB(Service, SET) \ 197 SUB(Service, SET) \
197 SUB(Service, SM) \ 198 SUB(Service, SM) \
198 SUB(Service, SPL) \ 199 SUB(Service, SPL) \
diff --git a/src/common/logging/log.h b/src/common/logging/log.h
index ef0b8bf0d..3d6a161a5 100644
--- a/src/common/logging/log.h
+++ b/src/common/logging/log.h
@@ -78,8 +78,9 @@ enum class Class : ClassType {
78 Service_NVDRV, ///< The NVDRV (Nvidia driver) service 78 Service_NVDRV, ///< The NVDRV (Nvidia driver) service
79 Service_PCIE, ///< The PCIe service 79 Service_PCIE, ///< The PCIe service
80 Service_PCTL, ///< The PCTL (Parental control) service 80 Service_PCTL, ///< The PCTL (Parental control) service
81 Service_PCV, ///< The PCV (Parental control) service 81 Service_PCV, ///< The PCV service
82 Service_PREPO, ///< The PREPO (Play report) service 82 Service_PREPO, ///< The PREPO (Play report) service
83 Service_PSC, ///< The PSC service
83 Service_SET, ///< The SET (Settings) service 84 Service_SET, ///< The SET (Settings) service
84 Service_SM, ///< The SM (Service manager) service 85 Service_SM, ///< The SM (Service manager) service
85 Service_SPL, ///< The SPL service 86 Service_SPL, ///< The SPL service
diff --git a/src/common/math_util.h b/src/common/math_util.h
index c6a83c953..343cdd902 100644
--- a/src/common/math_util.h
+++ b/src/common/math_util.h
@@ -19,12 +19,12 @@ inline bool IntervalsIntersect(unsigned start0, unsigned length0, unsigned start
19 19
20template <class T> 20template <class T>
21struct Rectangle { 21struct Rectangle {
22 T left; 22 T left{};
23 T top; 23 T top{};
24 T right; 24 T right{};
25 T bottom; 25 T bottom{};
26 26
27 Rectangle() {} 27 Rectangle() = default;
28 28
29 Rectangle(T left, T top, T right, T bottom) 29 Rectangle(T left, T top, T right, T bottom)
30 : left(left), top(top), right(right), bottom(bottom) {} 30 : left(left), top(top), right(right), bottom(bottom) {}