summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Lioncash2018-08-12 03:53:16 -0400
committerGravatar Lioncash2018-08-12 03:53:20 -0400
commitd6a1a4385423480573fb9623d511b5028f8393e1 (patch)
treeb7a1cbe0bd09da021b3c371833b3e44792431dab /src
parentMerge pull request #922 from lioncash/cmake (diff)
downloadyuzu-d6a1a4385423480573fb9623d511b5028f8393e1.tar.gz
yuzu-d6a1a4385423480573fb9623d511b5028f8393e1.tar.xz
yuzu-d6a1a4385423480573fb9623d511b5028f8393e1.zip
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')
-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 a4823353e..1188813c7 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 {
112} 112}
113 113
114std::vector<std::shared_ptr<VfsDirectory>> XCI::GetSubdirectories() const { 114std::vector<std::shared_ptr<VfsDirectory>> XCI::GetSubdirectories() const {
115 return std::vector<std::shared_ptr<VfsDirectory>>(); 115 return {};
116} 116}
117 117
118std::string XCI::GetName() const { 118std::string XCI::GetName() const {