Changeset 2850 in Sophya for trunk/SophyaLib/HiStats/basedtable.cc
- Timestamp:
- Nov 21, 2005, 12:20:52 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/HiStats/basedtable.cc
r2849 r2850 11 11 of the table. 12 12 */ 13 DataTableRow::DataTableRow( vector<string> & colnames )13 DataTableRow::DataTableRow( vector<string> const& colnames ) 14 14 { 15 15 if (colnames.size() < 1) … … 204 204 DataTableRow BaseDataTable::EmptyRow() 205 205 { 206 if (NCols == 0)206 if (NCols() == 0) 207 207 throw ParmError("BaseDataTable::EmptyRow() Table has no column !"); 208 208 vector<string> nms; 209 209 for(sa_size_t k=0; k<NVar(); k++) nms.push_back(mNames[k].nom); 210 return DataTableRow(nms); 210 DataTableRow row(nms); 211 return row; 211 212 } 212 213
Note:
See TracChangeset
for help on using the changeset viewer.