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.
merge-requests/60/head
Lioncash 2018-08-12 03:53:16 +07:00
parent cb3c50eacc
commit d6a1a43854
1 changed files with 1 additions and 1 deletions

@ -112,7 +112,7 @@ std::vector<std::shared_ptr<VfsFile>> XCI::GetFiles() const {
} }
std::vector<std::shared_ptr<VfsDirectory>> XCI::GetSubdirectories() const { std::vector<std::shared_ptr<VfsDirectory>> XCI::GetSubdirectories() const {
return std::vector<std::shared_ptr<VfsDirectory>>(); return {};
} }
std::string XCI::GetName() const { std::string XCI::GetName() const {