diff --git a/test/headless.cpp b/test/headless.cpp index 92e0647a3..c77aa1185 100644 --- a/test/headless.cpp +++ b/test/headless.cpp @@ -20,6 +20,15 @@ std::string base_directory; +namespace mbgl { +namespace platform { + +std::string defaultCacheDatabase() { + // Disables the cache. + return ""; +} +} +} class ServerEnvironment : public ::testing::Environment { public: