summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Lioncash2019-07-05 17:19:43 -0400
committerGravatar Lioncash2019-07-05 17:45:24 -0400
commit2321656dbe4eba8105b59576ae4ed486ca65918f (patch)
tree5af6678d4ac49cc34875510cd60f3dec53be05c5 /src
parentcore/reporter: Remove unnecessary namespace qualifiers (diff)
downloadyuzu-2321656dbe4eba8105b59576ae4ed486ca65918f.tar.gz
yuzu-2321656dbe4eba8105b59576ae4ed486ca65918f.tar.xz
yuzu-2321656dbe4eba8105b59576ae4ed486ca65918f.zip
core/reporter: Add missing includes and forward declarations
Adds missing inclusions to prevent potential compilation issues.
Diffstat (limited to 'src')
-rw-r--r--src/core/reporter.cpp6
-rw-r--r--src/core/reporter.h4
2 files changed, 9 insertions, 1 deletions
diff --git a/src/core/reporter.cpp b/src/core/reporter.cpp
index d79a9336d..dbc350070 100644
--- a/src/core/reporter.cpp
+++ b/src/core/reporter.cpp
@@ -2,8 +2,13 @@
2// Licensed under GPLv2 or any later version 2// Licensed under GPLv2 or any later version
3// Refer to the license.txt file included. 3// Refer to the license.txt file included.
4 4
5#include <ctime>
5#include <fstream> 6#include <fstream>
7
8#include <fmt/format.h>
9#include <fmt/time.h>
6#include <json.hpp> 10#include <json.hpp>
11
7#include "common/file_util.h" 12#include "common/file_util.h"
8#include "common/hex_util.h" 13#include "common/hex_util.h"
9#include "common/scm_rev.h" 14#include "common/scm_rev.h"
@@ -14,7 +19,6 @@
14#include "core/hle/result.h" 19#include "core/hle/result.h"
15#include "core/reporter.h" 20#include "core/reporter.h"
16#include "core/settings.h" 21#include "core/settings.h"
17#include "fmt/time.h"
18 22
19namespace { 23namespace {
20 24
diff --git a/src/core/reporter.h b/src/core/reporter.h
index 9487a11b6..4266ca550 100644
--- a/src/core/reporter.h
+++ b/src/core/reporter.h
@@ -4,7 +4,9 @@
4 4
5#pragma once 5#pragma once
6 6
7#include <array>
7#include <optional> 8#include <optional>
9#include <string>
8#include <vector> 10#include <vector>
9#include "common/common_types.h" 11#include "common/common_types.h"
10 12
@@ -16,6 +18,8 @@ class HLERequestContext;
16 18
17namespace Core { 19namespace Core {
18 20
21class System;
22
19class Reporter { 23class Reporter {
20public: 24public:
21 explicit Reporter(System& system); 25 explicit Reporter(System& system);