Advertisement
Guest User

Untitled

a guest
Dec 9th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.48 KB | None | 0 0
  1.  
  2. QgsAbstractVectorLayerLabeling *QgsAfsProvider::createLabeling( const QVariantMap & ) const
  3. {
  4.   std::unique_ptr< QgsAbstractVectorLayerLabeling > labeling = QgsArcGisRestUtils::parseEsriLabeling( mLabelingDataList );
  5.   return labeling.release();
  6. }
  7.  
  8. ---
  9.  
  10. In file included from /usr/include/c++/8/memory:80,
  11.                  from /home/webmaster/dev/cpp/QGIS/src/providers/arcgisrest/qgsafsprovider.h:21,
  12.                  from /home/webmaster/dev/cpp/QGIS/src/providers/arcgisrest/qgsafsprovider.cpp:18:
  13. /usr/include/c++/8/bits/unique_ptr.h: In instantiation of ‘void std::default_delete<_Tp>::operator()(_Tp*) const [with _Tp = QgsAbstractVectorLayerLabeling]:
  14. /usr/include/c++/8/bits/unique_ptr.h:274:17:   required from ‘std::unique_ptr<_Tp, _Dp>::~unique_ptr() [with _Tp = QgsAbstractVectorLayerLabeling; _Dp = std::default_delete<QgsAbstractVectorLayerLabeling>]
  15. /home/webmaster/dev/cpp/QGIS/src/providers/arcgisrest/qgsafsprovider.cpp:317:121:   required from here
  16. /usr/include/c++/8/bits/unique_ptr.h:79:16: error: invalid application of ‘sizeof’ to incomplete type ‘QgsAbstractVectorLayerLabeling’
  17.   static_assert(sizeof(_Tp)>0,
  18.                 ^~~~~~~~~~~
  19. make[2]: *** [src/providers/arcgisrest/CMakeFiles/arcgisfeatureserverprovider.dir/build.make:126: src/providers/arcgisrest/CMakeFiles/arcgisfeatureserverprovider.dir/qgsafsprovider.cpp.o] Error 1
  20. make[1]: *** [CMakeFiles/Makefile2:1962: src/providers/arcgisrest/CMakeFiles/arcgisfeatureserverprovider.dir/all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement