summaryrefslogtreecommitdiff
path: root/src/core/loader/loader.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-09-03 21:20:34 -0400
committerGitHub <noreply@github.com>2018-09-03 21:20:34 -0400
commit2afe8ac4a714de836ee58b45598a25c687a1bf12 (patch)
tree18af783e535a854dd2fea5e6538b442c2372f994 /src/core/loader/loader.h
parent9cfe2414cbd02f9c5d1cc4c786e56cc1b1803299 (diff)
parenta40537314405d62baa012836da9bba24ad4b02e5 (diff)
Merge pull request #1229 from lioncash/forward-decl
vfs_real: Forward declare IOFile
Diffstat (limited to 'src/core/loader/loader.h')
-rw-r--r--src/core/loader/loader.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/core/loader/loader.h b/src/core/loader/loader.h
index 885fee84c..5a8540b0e 100644
--- a/src/core/loader/loader.h
+++ b/src/core/loader/loader.h
@@ -4,7 +4,6 @@
#pragma once
-#include <algorithm>
#include <iosfwd>
#include <memory>
#include <string>
@@ -12,7 +11,6 @@
#include <vector>
#include <boost/optional.hpp>
#include "common/common_types.h"
-#include "common/file_util.h"
#include "core/file_sys/vfs.h"
#include "core/hle/kernel/object.h"
@@ -114,8 +112,8 @@ std::ostream& operator<<(std::ostream& os, ResultStatus status);
/// Interface for loading an application
class AppLoader : NonCopyable {
public:
- explicit AppLoader(FileSys::VirtualFile file) : file(std::move(file)) {}
- virtual ~AppLoader() {}
+ explicit AppLoader(FileSys::VirtualFile file);
+ virtual ~AppLoader();
/**
* Returns the type of this file