mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2025-01-23 22:22:11 +08:00
Fixed the one VS warning I found (warning level 4)
This commit is contained in:
parent
0d9791cf7c
commit
2bc76761a0
@ -2307,7 +2307,7 @@ class JKQTPLOTTER_LIB_EXPORT JKQTPDatastoreItem {
|
|||||||
/** \brief if \c isValid() : resize the row to have \a rows_new rows */
|
/** \brief if \c isValid() : resize the row to have \a rows_new rows */
|
||||||
inline void resize(size_t rows_new) {
|
inline void resize(size_t rows_new) {
|
||||||
JKQTPASSERT(isVector());
|
JKQTPASSERT(isVector());
|
||||||
datavec.resize(rows_new);
|
datavec.resize(static_cast<int>(rows_new));
|
||||||
rows=static_cast<size_t>(datavec.size());
|
rows=static_cast<size_t>(datavec.size());
|
||||||
data=datavec.data();
|
data=datavec.data();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user