Introduced use of ref_ptr<> and private destructor to tighen up memory management and avoid users attempting to inappropriately delete TexCoordRange.

This commit is contained in:
Robert Osfield
2019-01-09 08:38:16 +00:00
parent f6b64afdfc
commit bd83044c08
2 changed files with 5 additions and 3 deletions

View File

@@ -120,6 +120,8 @@ class OSGDB_EXPORT ImageOptions : public osgDB::Options
}
double _x,_y,_w,_h;
protected:
virtual ~TexCoordRange() {}
};