src/polygoncache.cpp

changeset 183
97b591813c8b
parent 152
03f8e6d42e13
child 193
b4beff48bb7a
--- a/src/polygoncache.cpp	Sun Mar 13 20:26:28 2022 +0200
+++ b/src/polygoncache.cpp	Tue Mar 15 18:52:48 2022 +0200
@@ -16,7 +16,7 @@
  * @param documents Documents to use to resolve subfile references
  * @return vector of GL polygons
  */
-std::vector<gl::Polygon> PolygonCache::getPolygons(DocumentManager* documents)
+const std::vector<gl::Polygon> &PolygonCache::getPolygons(DocumentManager* documents)
 {
 	if (this->needRecache)
 	{

mercurial