From d6a1a4385423480573fb9623d511b5028f8393e1 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sun, 12 Aug 2018 03:53:16 -0400 Subject: 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> XCI::GetFiles() const { } std::vector> XCI::GetSubdirectories() const { - return std::vector>(); + return {}; } std::string XCI::GetName() const { -- cgit v1.2.3