Skip to content
Permalink
Browse files

diagram: mark assignment operator as deleted due to existence of copy…

… constructor
  • Loading branch information
rouault committed Jun 1, 2020
1 parent d497edc commit 98d7b99d7193be68604cbcfe9b51af03a207f21f
@@ -9,7 +9,7 @@



class QgsDiagram
class QgsDiagram /NoDefaultCtors/
{
%Docstring
Base class for all diagram types*
@@ -11,7 +11,7 @@



class QgsHistogramDiagram: QgsDiagram
class QgsHistogramDiagram: QgsDiagram /NoDefaultCtors/
{

%TypeHeaderCode
@@ -9,7 +9,7 @@



class QgsPieDiagram: QgsDiagram
class QgsPieDiagram: QgsDiagram /NoDefaultCtors/
{

%TypeHeaderCode
@@ -11,7 +11,7 @@



class QgsStackedBarDiagram: QgsDiagram
class QgsStackedBarDiagram: QgsDiagram /NoDefaultCtors/
{
%Docstring

@@ -9,7 +9,7 @@



class QgsTextDiagram: QgsDiagram
class QgsTextDiagram: QgsDiagram /NoDefaultCtors/
{

%TypeHeaderCode
@@ -35,7 +35,7 @@ class QgsAttributes;
/**
* \ingroup core
* Base class for all diagram types*/
class CORE_EXPORT QgsDiagram
class CORE_EXPORT QgsDiagram SIP_NODEFAULTCTORS
{
public:

@@ -148,6 +148,7 @@ class CORE_EXPORT QgsDiagram

private:
QMap<QString, QgsExpression *> mExpressions;
QgsDiagram &operator= ( const QgsDiagram & ) = delete;
};

#endif // QGSDIAGRAM_H
@@ -36,7 +36,7 @@ class QgsRenderContext;
* \ingroup core
* \class QgsHistogramDiagram
*/
class CORE_EXPORT QgsHistogramDiagram: public QgsDiagram
class CORE_EXPORT QgsHistogramDiagram: public QgsDiagram SIP_NODEFAULTCTORS
{
public:
QgsHistogramDiagram();
@@ -34,7 +34,7 @@ class QgsRenderContext;
* \ingroup core
* \class QgsPieDiagram
*/
class CORE_EXPORT QgsPieDiagram: public QgsDiagram
class CORE_EXPORT QgsPieDiagram: public QgsDiagram SIP_NODEFAULTCTORS
{
public:
QgsPieDiagram();
@@ -40,7 +40,7 @@ class QgsRenderContext;
*
* \since QGIS 3.12
*/
class CORE_EXPORT QgsStackedBarDiagram: public QgsDiagram
class CORE_EXPORT QgsStackedBarDiagram: public QgsDiagram SIP_NODEFAULTCTORS
{
public:
QgsStackedBarDiagram();
@@ -34,7 +34,7 @@ class QgsRenderContext;
* \ingroup core
* \class QgsTextDiagram
*/
class CORE_EXPORT QgsTextDiagram: public QgsDiagram
class CORE_EXPORT QgsTextDiagram: public QgsDiagram SIP_NODEFAULTCTORS
{
public:
enum Shape

0 comments on commit 98d7b99

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