Skip to content
Snippets Groups Projects
Commit aaf9470e authored by Tom Fischer's avatar Tom Fischer
Browse files

[GL/Raster] Use unique_ptr to avoid mem leak

parent b773bf49
No related branches found
No related tags found
No related merge requests found
...@@ -154,7 +154,7 @@ private: ...@@ -154,7 +154,7 @@ private:
struct NamedRaster struct NamedRaster
{ {
std::string raster_name; std::string raster_name;
GeoLib::Raster raster; std::unique_ptr<GeoLib::Raster> raster;
}; };
} // namespace GeoLib } // namespace GeoLib
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment