Changeset 9960 in ntrip for trunk/BNC


Ignore:
Timestamp:
Jan 26, 2023, 11:58:07 AM (22 months ago)
Author:
stuerze
Message:

minor changes to be msvc compatible

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bncwindow.cpp

    r9959 r9960  
    27612761
    27622762  int nRows = _cmbTable->rowCount();
    2763   bool flg[nRows];
     2763  std::vector <bool> flg(nRows);
    27642764  for (int iRow = 0; iRow < nRows; iRow++) {
    27652765    if (_cmbTable->item(iRow,1)->isSelected()) {
     
    28672867  BNC_CORE->_uploadTableItems.clear();
    28682868  int nRows = _uploadTable->rowCount();
    2869   bool flg[nRows];
     2869  std::vector <bool> flg(nRows);
    28702870  for (int iRow = 0; iRow < nRows; iRow++) {
    28712871    if (_uploadTable->item(iRow,1)->isSelected()) {
     
    30263026  BNC_CORE->_uploadTableItems.clear();
    30273027  int nRows = _uploadEphTable->rowCount();
    3028   bool flg[nRows];
     3028  std::vector <bool> flg(nRows);
    30293029  for (int iRow = 0; iRow < nRows; iRow++) {
    30303030    if (_uploadEphTable->item(iRow,1)->isSelected()) {
Note: See TracChangeset for help on using the changeset viewer.