Browse Source

core/reporter: Remove unnecessary namespace qualifiers

The Reporter class is part of the Core namespace, so the System class
doesn't need to be qualified.
nce_cpp
Lioncash 7 years ago
parent
commit
0756025102
  1. 2
      src/core/reporter.cpp
  2. 4
      src/core/reporter.h

2
src/core/reporter.cpp

@ -183,7 +183,7 @@ json GetHLERequestContextData(Kernel::HLERequestContext& ctx) {
namespace Core { namespace Core {
Reporter::Reporter(Core::System& system) : system(system) {}
Reporter::Reporter(System& system) : system(system) {}
Reporter::~Reporter() = default; Reporter::~Reporter() = default;

4
src/core/reporter.h

@ -18,7 +18,7 @@ namespace Core {
class Reporter { class Reporter {
public: public:
explicit Reporter(Core::System& system);
explicit Reporter(System& system);
~Reporter(); ~Reporter();
void SaveCrashReport(u64 title_id, ResultCode result, u64 set_flags, u64 entry_point, u64 sp, void SaveCrashReport(u64 title_id, ResultCode result, u64 set_flags, u64 entry_point, u64 sp,
@ -50,7 +50,7 @@ public:
private: private:
bool IsReportingEnabled() const; bool IsReportingEnabled() const;
Core::System& system;
System& system;
}; };
} // namespace Core } // namespace Core
Loading…
Cancel
Save