Skip to content
Permalink
Browse files

Declare typeinfo for QgsVector to optimise use in Qt containers

  • Loading branch information
nyalldawson committed Apr 23, 2018
1 parent c6a50fe commit 59c9b97651779eb52a9d6f85907e256280e7f87d
Showing with 4 additions and 0 deletions.
  1. +1 −0 python/core/qgsvector.sip.in
  2. +3 −0 src/core/qgsvector.h
@@ -121,6 +121,7 @@ Will throw a QgsException if called on a vector with length of 0.

};


/************************************************************************
* This file has been generated automatically from *
* *
@@ -17,6 +17,7 @@
#define QGSVECTOR_H

#include "qgis_core.h"
#include <QtGlobal>

/**
* \ingroup core
@@ -161,4 +162,6 @@ class CORE_EXPORT QgsVector

};

Q_DECLARE_TYPEINFO( QgsVector, Q_MOVABLE_TYPE );

#endif // QGSVECTOR_H

0 comments on commit 59c9b97

Please sign in to comment.
You can’t perform that action at this time.