[core] Pass std::shared_ptr<UpdateParameters> to the render orchestrator

So that it can retain ownership of the given parameters.
This commit is contained in:
Mikhail Pozdnyakov
2020-01-15 16:30:34 +02:00
parent 5af128f205
commit d24c1d625a
9 changed files with 71 additions and 70 deletions

View File

@@ -31,7 +31,7 @@ public:
void setObserver(RendererObserver*);
void render(const UpdateParameters&);
void render(const std::shared_ptr<UpdateParameters>&);
// Feature queries
std::vector<Feature> queryRenderedFeatures(const ScreenLineString&, const RenderedQueryOptions& options = {}) const;