mirror of
				https://github.com/pocoproject/poco.git
				synced 2025-10-20 14:02:38 +02:00 
			
		
		
		
	trunk/branch integration: fix warning
This commit is contained in:
		| @@ -56,17 +56,19 @@ class SingletonHolder | |||||||
| 	/// when the application that created them terminates. | 	/// when the application that created them terminates. | ||||||
| { | { | ||||||
| public: | public: | ||||||
| 	SingletonHolder() | 	SingletonHolder(): | ||||||
|  | 		_pS(0) | ||||||
| 		/// Creates the SingletonHolder. | 		/// Creates the SingletonHolder. | ||||||
| 	{ | 	{ | ||||||
| 		_pS = 0; |  | ||||||
| 	} | 	} | ||||||
|  | 	 | ||||||
| 	~SingletonHolder() | 	~SingletonHolder() | ||||||
| 		/// Destroys the SingletonHolder and the singleton | 		/// Destroys the SingletonHolder and the singleton | ||||||
| 		/// object that it holds. | 		/// object that it holds. | ||||||
| 	{ | 	{ | ||||||
| 		delete _pS; | 		delete _pS; | ||||||
| 	} | 	} | ||||||
|  | 	 | ||||||
| 	S* get() | 	S* get() | ||||||
| 		/// Returns a pointer to the singleton object | 		/// Returns a pointer to the singleton object | ||||||
| 		/// hold by the SingletonHolder. The first call | 		/// hold by the SingletonHolder. The first call | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Marian Krivos
					Marian Krivos