fixed a compiler warning

This commit is contained in:
Volker Fischer 2018-03-22 20:47:08 +00:00
parent aaa766a659
commit 5c3bc50764

View File

@ -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