Use memsize-type.

--HG--
branch : develop
This commit is contained in:
dismine 2013-11-06 21:27:43 +02:00
parent 8293f69761
commit 93db4385b7
4 changed files with 4 additions and 4 deletions

View File

@ -70,7 +70,7 @@ bool VDetail::Containes(const qint64 &id) const
return false;
}
VNodeDetail &VDetail::operator [](int indx)
VNodeDetail &VDetail::operator [](ptrdiff_t indx)
{
return nodes[indx];
}

View File

@ -46,7 +46,7 @@ public:
void Clear();
inline qint32 CountNode() const {return nodes.size();}
bool Containes(const qint64 &id)const;
VNodeDetail & operator[](int indx);
VNodeDetail & operator[](ptrdiff_t indx);
inline QString getName() const {return name;}
inline void setName(const QString &value) {name = value;}
inline qreal getMx() const {return mx;}

View File

@ -146,7 +146,7 @@ VSplinePath &VSplinePath::operator =(const VSplinePath &path)
return *this;
}
VSplinePoint & VSplinePath::operator[](int indx)
VSplinePoint & VSplinePath::operator[](ptrdiff_t indx)
{
return path[indx];
}

View File

@ -74,7 +74,7 @@ public:
inline void setKCurve(const qreal &value) {kCurve = value;}
inline const QVector<VSplinePoint> *GetPoint() const {return &path;}
VSplinePath &operator=(const VSplinePath &path);
VSplinePoint &operator[](int indx);
VSplinePoint &operator[](ptrdiff_t indx);
inline Draw::Draws getMode() const {return mode;}
inline void setMode(const Draw::Draws &value) {mode = value;}