diff --git a/common/macresman.cpp b/common/macresman.cpp index e28bd963dfe..adca1ea10b3 100644 --- a/common/macresman.cpp +++ b/common/macresman.cpp @@ -262,7 +262,7 @@ bool MacResManager::exists(const String &fileName) { return false; } -void MacResManager::listFiles(Array &files, const String &pattern) { +void MacResManager::listFiles(StringArray &files, const String &pattern) { // Base names discovered so far. typedef HashMap BaseNameSet; BaseNameSet baseNames; diff --git a/common/macresman.h b/common/macresman.h index 5cc2542433b..05b2a875f42 100644 --- a/common/macresman.h +++ b/common/macresman.h @@ -33,6 +33,7 @@ #include "common/array.h" #include "common/fs.h" #include "common/str.h" +#include "common/str-array.h" #ifndef COMMON_MACRESMAN_H #define COMMON_MACRESMAN_H @@ -89,7 +90,7 @@ public: * @param pattern Pattern to match against. Taking String::matchPattern's * format. */ - static void listFiles(Array &files, const String &pattern); + static void listFiles(StringArray &files, const String &pattern); /** * Close the Mac data/resource fork pair.