Ticket #3 (closed bug: fixed)

Opened 7 years ago

Last modified 4 years ago

struct/class mismatch for QgsDataSourceURI

Reported by: mloskot Owned by: gsherman
Priority: minor: annoyance Milestone:
Component: Data Provider Version: Trunk
Keywords: Cc:
Platform Version: XP Professional Platform: Windows
Must Fix for Release: No Awaiting user input: no

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

Changed 7 years ago by anonymous

  • type changed from patch to bug

Changed 7 years ago by g_j_m

  • status changed from new to closed
  • resolution set to fixed

Fixed in r5229

Changed 6 years ago by anonymous

  • status_info unset
  • must_fix set to No

Changed 4 years ago by anonymous

  • milestone Version 0.8 deleted

Milestone Version 0.8 deleted

Note: See TracTickets for help on using tickets.