Ticket #3 (closed bug: fixed)
struct/class mismatch for QgsDataSourceURI
Description
In qgsdatasourceuri.h file, QgsDataSourceURI is declared as a struct:
struct QgsDataSourceURI
{
//...
};
but in file qgsdataprovider.h the same type is announced in forward declaration using class keyword:
class QgsDataSourceURI;
The compiler will use the type given in the definition, instead of that in forward declaration.
Change History
Note: See
TracTickets for help on using
tickets.