Jon Berndt writes:
> 
> > Can you give a complete minimal example?  I just tried the
> > following one, and this compiles without problems, as it should:
> 
> See below.
> 
> > Are you *using* the assignment operator for your class
> > somewhere?
> 
> Not that I know of.

see below
  
> FGTable::FGTable(const FGTable& t) :
>                PropertyManager(t.PropertyManager)
> {
>   Type = t.Type;
>   colCounter = t.colCounter;
>   rowCounter = t.rowCounter;
>   tableCounter = t.tableCounter;
>   nRows = t.nRows;
>   nCols = t.nCols;
>   nTables = t.nTables;
> 
>   Tables = t.Tables;
^^^^^^^^^^^^^^^^^^^^^^^^^^

try something like  < untested >

Tables.resize(nTables);
for( i=0; i<nTables; ++i)
   Tables[i] = t.Tables[i]
  

HTH

Norman


_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to