file_sys/crypto: Fix missing/unnecessary includes

This commit is contained in:
Zach Hilman 2018-08-24 22:15:32 -04:00
parent d1a6dd61d1
commit 6314a799aa
9 changed files with 10 additions and 5 deletions

View file

@ -16,6 +16,8 @@ SDMCFactory::SDMCFactory(VirtualDir dir_)
return std::make_shared<NAX>(file, id)->GetDecrypted();
})) {}
SDMCFactory::~SDMCFactory() = default;
ResultVal<VirtualDir> SDMCFactory::Open() {
return MakeResult<VirtualDir>(dir);
}

View file

@ -16,6 +16,7 @@ class RegisteredCache;
class SDMCFactory {
public:
explicit SDMCFactory(VirtualDir dir);
~SDMCFactory();
ResultVal<VirtualDir> Open();
std::shared_ptr<RegisteredCache> GetSDMCContents() const;

View file

@ -2,7 +2,9 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include <algorithm>
#include <array>
#include <cstring>
#include <regex>
#include <string>
#include <mbedtls/md.h>

View file

@ -8,6 +8,7 @@
#include <vector>
#include "common/common_types.h"
#include "common/swap.h"
#include "core/crypto/key_manager.h"
#include "core/file_sys/content_archive.h"
#include "core/file_sys/vfs.h"
#include "core/loader/loader.h"