Changeset - f818423d0454
[Not reviewed]
0 1 0
Steffen Vogel - 8 years ago 2017-10-30 15:07:44
post@steffenvogel.de
replace deprecated std::auto_ptr by std::unique_ptr
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
spectrum/src/frontends/xmpp/storageparser.h
Show inline comments
 
@@ -9,15 +9,15 @@ namespace Transport {
 

	
 
	class StorageParser : public Swift::GenericPayloadParser<Swift::PrivateStorage> {
 
		public:
 
			StorageParser();
 

	
 
		private:
 
			virtual void handleStartElement(const std::string& element, const std::string&, const Swift::AttributeMap& attributes);
 
			virtual void handleEndElement(const std::string& element, const std::string&);
 
			virtual void handleCharacterData(const std::string& data);
 

	
 
		private:
 
			int level;
 
			std::auto_ptr<Swift::PayloadParser> currentPayloadParser;
 
			std::unique_ptr<Swift::PayloadParser> currentPayloadParser;
 
	};
 
}
0 comments (0 inline, 0 general)