diff options
Diffstat (limited to 'src/mbgl/style/style.cpp')
-rw-r--r-- | src/mbgl/style/style.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mbgl/style/style.cpp b/src/mbgl/style/style.cpp index 783c850097..8a821e5a5e 100644 --- a/src/mbgl/style/style.cpp +++ b/src/mbgl/style/style.cpp @@ -8,9 +8,8 @@ namespace mbgl { namespace style { -Style::Style(FileSource& fileSource, float pixelRatio) - : impl(std::make_unique<Impl>(fileSource, pixelRatio)) { -} +Style::Style(std::shared_ptr<FileSource> fileSource, float pixelRatio) + : impl(std::make_unique<Impl>(std::move(fileSource), pixelRatio)) {} Style::~Style() = default; |