diff options
Diffstat (limited to 'test/src/mbgl')
-rw-r--r-- | test/src/mbgl/test/fake_file_source.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/src/mbgl/test/fake_file_source.hpp b/test/src/mbgl/test/fake_file_source.hpp index 1faf4b7a18..7c5adbfff4 100644 --- a/test/src/mbgl/test/fake_file_source.hpp +++ b/test/src/mbgl/test/fake_file_source.hpp @@ -75,10 +75,10 @@ public: } mapbox::base::Value getProperty(const std::string& property) const override { - return onlineFs.getProperty(property); + return onlineFs->getProperty(property); } - OnlineFileSource onlineFs; + std::unique_ptr<FileSource> onlineFs = std::make_unique<OnlineFileSource>(); }; } // namespace mbgl |