TETRAEDGE: Fix gcc warnings

This commit is contained in:
Matthew Duggan 2023-01-30 19:28:06 +09:00
parent da29ae539e
commit 7293873e62
2 changed files with 3 additions and 2 deletions

View File

@ -221,8 +221,8 @@ TeIntrusivePtr<TeBezierCurve> TeFreeMoveZone::curve(const TeVector3f32 &startpt,
Common::Array<TeVector3f32> pts3d; Common::Array<TeVector3f32> pts3d;
// Skip first and last points, we will use the exact values. // Skip first and last points, we will use the exact values.
for (uint i = 1; i < points.size() - 1; i++) { for (uint j = 1; j < points.size() - 1; j++) {
pts3d.push_back(transformAStarGridInWorldSpace(points[i])); pts3d.push_back(transformAStarGridInWorldSpace(points[j]));
} }
pts3d.front() = startpt; pts3d.front() = startpt;

View File

@ -30,6 +30,7 @@ namespace Tetraedge {
class TeITextLayout { class TeITextLayout {
public: public:
TeITextLayout(); TeITextLayout();
virtual ~TeITextLayout() {}
virtual void setText(const Common::String &val) = 0; virtual void setText(const Common::String &val) = 0;
virtual void setInterLine(float val) = 0; virtual void setInterLine(float val) = 0;