fixed a compiler warning
This commit is contained in:
parent
aaa766a659
commit
5c3bc50764
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ public:
|
|||
const bool bDoAdding = true );
|
||||
|
||||
// this function simply converts the type of size to integer
|
||||
inline int Size() const { return std::vector<TData>::size(); }
|
||||
inline int Size() const { return static_cast<int> ( std::vector<TData>::size() ); }
|
||||
|
||||
// This operator allows for a l-value assignment of this object:
|
||||
// CVector[x] = y is possible
|
||||
|
|
Loading…
Reference in a new issue