Skip to content

Commit

Permalink
fix windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Jan 26, 2013
1 parent 85b684c commit 2800b4a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/core/qgsfeatureiterator.h
Expand Up @@ -7,7 +7,7 @@
/** \ingroup core
* Internal feature iterator to be implemented within data providers
*/
class QgsAbstractFeatureIterator
class CORE_EXPORT QgsAbstractFeatureIterator
{
public:
//! base class constructor - stores the iteration parameters
Expand Down Expand Up @@ -40,7 +40,7 @@ class QgsAbstractFeatureIterator
* \ingroup core
* Wrapper for iterator of features from vector data provider or vector layer
*/
class QgsFeatureIterator
class CORE_EXPORT QgsFeatureIterator
{
public:
//! construct invalid iterator
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgsfeaturerequest.h
Expand Up @@ -38,7 +38,7 @@ typedef QList<int> QgsAttributeList;
* QgsFeatureRequest().setFilterFid(45)
*
*/
class QgsFeatureRequest
class CORE_EXPORT QgsFeatureRequest
{
public:
enum Flag
Expand Down
4 changes: 2 additions & 2 deletions src/core/qgsvectorlayerfeatureiterator.h
Expand Up @@ -8,9 +8,9 @@
typedef QMap<QgsFeatureId, QgsFeature> QgsFeatureMap;

class QgsVectorLayer;
class QgsVectorJoinInfo;
struct QgsVectorJoinInfo;

class QgsVectorLayerFeatureIterator : public QgsAbstractFeatureIterator
class CORE_EXPORT QgsVectorLayerFeatureIterator : public QgsAbstractFeatureIterator
{
public:
QgsVectorLayerFeatureIterator( QgsVectorLayer* layer, const QgsFeatureRequest& request );
Expand Down
2 changes: 1 addition & 1 deletion tests/src/core/testqgsvectordataprovider.cpp
Expand Up @@ -89,7 +89,7 @@ void TestQgsVectorDataProvider::cleanupTestCase()

static double keep6digits( double x )
{
return round( x*1e6 ) / 1e6;
return qRound( x*1e6 ) / 1e6;
}

static void checkFid4( QgsFeature& f, bool hasGeometry, bool hasAttrs, int onlyOneAttribute )
Expand Down

0 comments on commit 2800b4a

Please sign in to comment.