Bug report #3907

struct/class mismatch for QgsDataSourceURI

Added by Mateusz Loskot - over 16 years ago. Updated over 13 years ago.

Assignee:Gary Sherman
Category:Data Provider
Affected QGIS version: Regression?:No
Operating System:Windows Easy fix?:No
Pull Request or Patch supplied: Resolution:fixed
Crashes QGIS or corrupts data: Copied to github as #:13931


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.


#1 Updated by Gavin Macaulay - over 16 years ago

  • Resolution set to fixed
  • Status changed from Open to Closed

Fixed in 273b0a1b (SVN r5230)

#2 Updated by Anonymous over 13 years ago

Milestone Version 0.8 deleted

Also available in: Atom PDF