summaryrefslogtreecommitdiff
path: root/src/core/crypto
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-09-03 21:58:19 -0400
committerLioncash <mathew1800@gmail.com>2018-09-03 22:52:24 -0400
commita813c10e1c71318925f2e65f2b0926099485bbc4 (patch)
treefc7894ea6e04e565ff4eb29c94b95f8d72a61521 /src/core/crypto
parent1c5636e690ca5844b396f97adc0a094558edc56f (diff)
file_sys: Replace includes with forward declarations where applicable
Cuts down on include dependencies, resulting in less files that need to be rebuilt when certain things are changed.
Diffstat (limited to 'src/core/crypto')
-rw-r--r--src/core/crypto/key_manager.cpp3
-rw-r--r--src/core/crypto/key_manager.h9
2 files changed, 8 insertions, 4 deletions
diff --git a/src/core/crypto/key_manager.cpp b/src/core/crypto/key_manager.cpp
index 0b6c07de8..f768533da 100644
--- a/src/core/crypto/key_manager.cpp
+++ b/src/core/crypto/key_manager.cpp
@@ -8,12 +8,15 @@
#include <locale>
#include <sstream>
#include <string_view>
+#include <tuple>
+#include <vector>
#include "common/common_paths.h"
#include "common/file_util.h"
#include "common/hex_util.h"
#include "common/logging/log.h"
#include "core/crypto/aes_util.h"
#include "core/crypto/key_manager.h"
+#include "core/loader/loader.h"
#include "core/settings.h"
namespace Core::Crypto {
diff --git a/src/core/crypto/key_manager.h b/src/core/crypto/key_manager.h
index 7ca3e6cbc..bf51bf31f 100644
--- a/src/core/crypto/key_manager.h
+++ b/src/core/crypto/key_manager.h
@@ -6,13 +6,14 @@
#include <array>
#include <string>
-#include <string_view>
-#include <type_traits>
-#include <vector>
#include <boost/container/flat_map.hpp>
+#include <boost/optional.hpp>
#include <fmt/format.h>
#include "common/common_types.h"
-#include "core/loader/loader.h"
+
+namespace Loader {
+enum class ResultStatus : u16;
+}
namespace Core::Crypto {