diff options
| author | 2018-08-12 03:53:16 -0400 | |
|---|---|---|
| committer | 2018-08-12 03:53:20 -0400 | |
| commit | d6a1a4385423480573fb9623d511b5028f8393e1 (patch) | |
| tree | b7a1cbe0bd09da021b3c371833b3e44792431dab /src | |
| parent | Merge pull request #922 from lioncash/cmake (diff) | |
| download | yuzu-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.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 { | |||
| 112 | } | 112 | } |
| 113 | 113 | ||
| 114 | std::vector<std::shared_ptr<VfsDirectory>> XCI::GetSubdirectories() const { | 114 | std::vector<std::shared_ptr<VfsDirectory>> XCI::GetSubdirectories() const { |
| 115 | return std::vector<std::shared_ptr<VfsDirectory>>(); | 115 | return {}; |
| 116 | } | 116 | } |
| 117 | 117 | ||
| 118 | std::string XCI::GetName() const { | 118 | std::string XCI::GetName() const { |