Merge pull request #264 from Dmitry-Me/makeProhibitedStuffPrivate

Prohibited operations should be declared private
This commit is contained in:
Lee Thomason 2015-01-09 16:55:07 -08:00
commit b389252931
1 changed files with 12 additions and 6 deletions

View File

@ -882,8 +882,6 @@ public:
protected:
XMLNode( XMLDocument* );
virtual ~XMLNode();
XMLNode( const XMLNode& ); // not supported
XMLNode& operator=( const XMLNode& ); // not supported
XMLDocument* _document;
XMLNode* _parent;
@ -900,6 +898,9 @@ private:
void Unlink( XMLNode* child );
static void DeleteNode( XMLNode* node );
void InsertChildPreamble( XMLNode* insertThis ) const;
XMLNode( const XMLNode& ); // not supported
XMLNode& operator=( const XMLNode& ); // not supported
};
@ -945,11 +946,12 @@ public:
protected:
XMLText( XMLDocument* doc ) : XMLNode( doc ), _isCData( false ) {}
virtual ~XMLText() {}
XMLText( const XMLText& ); // not supported
XMLText& operator=( const XMLText& ); // not supported
private:
bool _isCData;
XMLText( const XMLText& ); // not supported
XMLText& operator=( const XMLText& ); // not supported
};
@ -974,10 +976,10 @@ public:
protected:
XMLComment( XMLDocument* doc );
virtual ~XMLComment();
XMLComment( const XMLComment& ); // not supported
XMLComment& operator=( const XMLComment& ); // not supported
private:
XMLComment( const XMLComment& ); // not supported
XMLComment& operator=( const XMLComment& ); // not supported
};
@ -1012,6 +1014,8 @@ public:
protected:
XMLDeclaration( XMLDocument* doc );
virtual ~XMLDeclaration();
private:
XMLDeclaration( const XMLDeclaration& ); // not supported
XMLDeclaration& operator=( const XMLDeclaration& ); // not supported
};
@ -1044,6 +1048,8 @@ public:
protected:
XMLUnknown( XMLDocument* doc );
virtual ~XMLUnknown();
private:
XMLUnknown( const XMLUnknown& ); // not supported
XMLUnknown& operator=( const XMLUnknown& ); // not supported
};