diff options
Diffstat (limited to 'include/mbgl')
-rw-r--r-- | include/mbgl/storage/file_source_manager.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/mbgl/storage/file_source_manager.hpp b/include/mbgl/storage/file_source_manager.hpp index 2b2a43cbec..e62d321af7 100644 --- a/include/mbgl/storage/file_source_manager.hpp +++ b/include/mbgl/storage/file_source_manager.hpp @@ -1,6 +1,7 @@ #pragma once #include <mbgl/storage/file_source.hpp> +#include <mbgl/util/pass_types.hpp> namespace mbgl { @@ -29,7 +30,7 @@ public: // Returns shared instance of a file source for (type, options) tuple. // Creates new instance via registered factory if needed. If new instance cannot be // created, nullptr would be returned. - std::shared_ptr<FileSource> getFileSource(FileSourceType, const ResourceOptions&) noexcept; + PassRefPtr<FileSource> getFileSource(FileSourceType, const ResourceOptions&) noexcept; // Registers file source factory for a provided FileSourceType type. If factory for the // same type was already registered, will unregister previously registered factory. |