Make nsScannerIterator a trivial type in order to use memset

This commit is contained in:
trav90 2018-09-02 16:45:29 -05:00 • committed by Roy Tam
commit 36607675b2

View file

@ -340,7 +340,7 @@ class nsScannerIterator
friend class nsScannerSharedSubstring; friend class nsScannerSharedSubstring;
public: public:
nsScannerIterator() {} // nsScannerIterator(); // auto-generate default constructor is OK
// nsScannerIterator( const nsScannerIterator& ); // auto-generated copy-constructor OK // nsScannerIterator( const nsScannerIterator& ); // auto-generated copy-constructor OK
// nsScannerIterator& operator=( const nsScannerIterator& ); // auto-generated copy-assignment operator OK // nsScannerIterator& operator=( const nsScannerIterator& ); // auto-generated copy-assignment operator OK