summaryrefslogtreecommitdiff
path: root/src/core/crypto
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-09-04 11:51:54 -0400
committerGitHub <noreply@github.com>2018-09-04 11:51:54 -0400
commit8ec1e168672a0e3798eb45680e0fed59f3775645 (patch)
treec7358ce2a72143b4fe1704c889716075cce58f98 /src/core/crypto
parent5a29b358aace5d43fd0208fc390b3198af995174 (diff)
parenta813c10e1c71318925f2e65f2b0926099485bbc4 (diff)
Merge pull request #1235 from lioncash/forward-decl
file_sys: Replace includes with forward declarations where applicable
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 {