소스 검색

partition_data_manager: Remove unused includes

Gets unused includes out of the headers and moves them into the cpp file
if they're used there instead.
Lioncash 7 년 전
부모
커밋
aaca7543f0
2개의 변경된 파일1개의 추가작업 그리고 4개의 파일을 삭제
  1. 1 2
      src/core/crypto/partition_data_manager.cpp
  2. 0 2
      src/core/crypto/partition_data_manager.h

+ 1 - 2
src/core/crypto/partition_data_manager.cpp

@@ -11,7 +11,6 @@
 #include <array>
 #include <cctype>
 #include <cstring>
-#include <boost/optional/optional.hpp>
 #include <mbedtls/sha256.h>
 #include "common/assert.h"
 #include "common/common_funcs.h"
@@ -19,7 +18,7 @@
 #include "common/hex_util.h"
 #include "common/logging/log.h"
 #include "common/string_util.h"
-#include "core/crypto/ctr_encryption_layer.h"
+#include "common/swap.h"
 #include "core/crypto/key_manager.h"
 #include "core/crypto/partition_data_manager.h"
 #include "core/crypto/xts_encryption_layer.h"

+ 0 - 2
src/core/crypto/partition_data_manager.h

@@ -5,9 +5,7 @@
 #pragma once
 
 #include <vector>
-#include "common/common_funcs.h"
 #include "common/common_types.h"
-#include "common/swap.h"
 #include "core/file_sys/vfs_types.h"
 
 namespace Core::Crypto {