aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys/card_image.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-08-12 03:53:16 -0400
committerLioncash <mathew1800@gmail.com>2018-08-12 03:53:20 -0400
commitd323d72fd514c35e27a13e8d7ce94c897f0b45d3 (patch)
treeb7a1cbe0bd09da021b3c371833b3e44792431dab /src/core/file_sys/card_image.cpp
parent9a7e9169107021179570b93efc8c8572f2aa33f7 (diff)
card_image: Simplify return statement of GetSubdirectories()
We don't need to write out the construction long-form, we can just let the language itself work it out off the return type.
Diffstat (limited to 'src/core/file_sys/card_image.cpp')
-rw-r--r--src/core/file_sys/card_image.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/file_sys/card_image.cpp b/src/core/file_sys/card_image.cpp
index a4823353e0..1188813c71 100644
--- a/src/core/file_sys/card_image.cpp
+++ b/src/core/file_sys/card_image.cpp
@@ -112,7 +112,7 @@ std::vector<std::shared_ptr<VfsFile>> XCI::GetFiles() const {
}
std::vector<std::shared_ptr<VfsDirectory>> XCI::GetSubdirectories() const {
- return std::vector<std::shared_ptr<VfsDirectory>>();
+ return {};
}
std::string XCI::GetName() const {