diff options
author | Lioncash <mathew1800@gmail.com> | 2018-08-12 03:53:16 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-08-12 03:53:20 -0400 |
commit | d6a1a4385423480573fb9623d511b5028f8393e1 (patch) | |
tree | b7a1cbe0bd09da021b3c371833b3e44792431dab /src | |
parent | cb3c50eacc9f17c3bd3b5e42e78e4528e951e2d0 (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')
-rw-r--r-- | src/core/file_sys/card_image.cpp | 2 |
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 { } std::vector<std::shared_ptr<VfsDirectory>> XCI::GetSubdirectories() const { - return std::vector<std::shared_ptr<VfsDirectory>>(); + return {}; } std::string XCI::GetName() const { |