mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2024-11-15 18:15:52 +08:00
Merge pull request #92 from doug1234/WarningWar
Fixed the one VS warning I found (warning level 4)
This commit is contained in:
commit
bc03f4ce17
@ -2307,7 +2307,7 @@ class JKQTPLOTTER_LIB_EXPORT JKQTPDatastoreItem {
|
||||
/** \brief if \c isValid() : resize the row to have \a rows_new rows */
|
||||
inline void resize(size_t rows_new) {
|
||||
JKQTPASSERT(isVector());
|
||||
datavec.resize(rows_new);
|
||||
datavec.resize(static_cast<int>(rows_new));
|
||||
rows=static_cast<size_t>(datavec.size());
|
||||
data=datavec.data();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user