From d6a1a4385423480573fb9623d511b5028f8393e1 Mon Sep 17 00:00:00 2001 From: Lioncash <mathew1800@gmail.com> Date: Sun, 12 Aug 2018 03:53:16 -0400 Subject: [PATCH] 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. --- src/core/file_sys/card_image.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { } std::vector<std::shared_ptr<VfsDirectory>> XCI::GetSubdirectories() const { - return std::vector<std::shared_ptr<VfsDirectory>>(); + return {}; } std::string XCI::GetName() const {