mirror of
				https://github.com/pocoproject/poco.git
				synced 2025-10-26 10:32:56 +01:00 
			
		
		
		
	Remove trailing whitespace (#3668)
This commit is contained in:
		| @@ -26,9 +26,9 @@ | ||||
| namespace Poco { | ||||
|  | ||||
|  | ||||
| template <class TArgs, bool hasSender = true, bool senderIsConst = true>  | ||||
| template <class TArgs, bool hasSender = true, bool senderIsConst = true> | ||||
| class FunctionDelegate: public AbstractDelegate<TArgs> | ||||
| 	/// Wraps a freestanding function or static member function  | ||||
| 	/// Wraps a freestanding function or static member function | ||||
| 	/// for use as a Delegate. | ||||
| { | ||||
| public: | ||||
| @@ -48,7 +48,7 @@ public: | ||||
| 	~FunctionDelegate() | ||||
| 	{ | ||||
| 	} | ||||
| 	 | ||||
|  | ||||
| 	FunctionDelegate& operator = (const FunctionDelegate& delegate) | ||||
| 	{ | ||||
| 		if (&delegate != this) | ||||
| @@ -79,7 +79,7 @@ public: | ||||
| 	{ | ||||
| 		return new FunctionDelegate(*this); | ||||
| 	} | ||||
| 	 | ||||
|  | ||||
| 	void disable() | ||||
| 	{ | ||||
| 		Mutex::ScopedLock lock(_mutex); | ||||
| @@ -95,7 +95,7 @@ private: | ||||
| }; | ||||
|  | ||||
|  | ||||
| template <class TArgs>  | ||||
| template <class TArgs> | ||||
| class FunctionDelegate<TArgs, true, false>: public AbstractDelegate<TArgs> | ||||
| { | ||||
| public: | ||||
| @@ -115,7 +115,7 @@ public: | ||||
| 	~FunctionDelegate() | ||||
| 	{ | ||||
| 	} | ||||
| 	 | ||||
|  | ||||
| 	FunctionDelegate& operator = (const FunctionDelegate& delegate) | ||||
| 	{ | ||||
| 		if (&delegate != this) | ||||
| @@ -162,7 +162,7 @@ private: | ||||
| }; | ||||
|  | ||||
|  | ||||
| template <class TArgs, bool senderIsConst>  | ||||
| template <class TArgs, bool senderIsConst> | ||||
| class FunctionDelegate<TArgs, false, senderIsConst>: public AbstractDelegate<TArgs> | ||||
| { | ||||
| public: | ||||
| @@ -182,7 +182,7 @@ public: | ||||
| 	~FunctionDelegate() | ||||
| 	{ | ||||
| 	} | ||||
| 	 | ||||
|  | ||||
| 	FunctionDelegate& operator = (const FunctionDelegate& delegate) | ||||
| 	{ | ||||
| 		if (&delegate != this) | ||||
| @@ -198,7 +198,7 @@ public: | ||||
| 		if (_function) | ||||
| 		{ | ||||
| 			(*_function)(arguments); | ||||
| 			return true;  | ||||
| 			return true; | ||||
| 		} | ||||
| 		else return false; | ||||
| 	} | ||||
| @@ -229,9 +229,9 @@ private: | ||||
| }; | ||||
|  | ||||
|  | ||||
| template <>  | ||||
| template <> | ||||
| class FunctionDelegate<void, true, true>: public AbstractDelegate<void> | ||||
| 	/// Wraps a freestanding function or static member function  | ||||
| 	/// Wraps a freestanding function or static member function | ||||
| 	/// for use as a Delegate. | ||||
| { | ||||
| public: | ||||
| @@ -251,7 +251,7 @@ public: | ||||
| 	~FunctionDelegate() | ||||
| 	{ | ||||
| 	} | ||||
| 	 | ||||
|  | ||||
| 	FunctionDelegate& operator = (const FunctionDelegate& delegate) | ||||
| 	{ | ||||
| 		if (&delegate != this) | ||||
| @@ -282,7 +282,7 @@ public: | ||||
| 	{ | ||||
| 		return new FunctionDelegate(*this); | ||||
| 	} | ||||
| 	 | ||||
|  | ||||
| 	void disable() | ||||
| 	{ | ||||
| 		Mutex::ScopedLock lock(_mutex); | ||||
| @@ -298,7 +298,7 @@ private: | ||||
| }; | ||||
|  | ||||
|  | ||||
| template <>  | ||||
| template <> | ||||
| class FunctionDelegate<void, true, false>: public AbstractDelegate<void> | ||||
| { | ||||
| public: | ||||
| @@ -318,7 +318,7 @@ public: | ||||
| 	~FunctionDelegate() | ||||
| 	{ | ||||
| 	} | ||||
| 	 | ||||
|  | ||||
| 	FunctionDelegate& operator = (const FunctionDelegate& delegate) | ||||
| 	{ | ||||
| 		if (&delegate != this) | ||||
| @@ -365,7 +365,7 @@ private: | ||||
| }; | ||||
|  | ||||
|  | ||||
| template <bool senderIsConst>  | ||||
| template <bool senderIsConst> | ||||
| class FunctionDelegate<void, false, senderIsConst>: public AbstractDelegate<void> | ||||
| { | ||||
| public: | ||||
| @@ -385,7 +385,7 @@ public: | ||||
| 	~FunctionDelegate() | ||||
| 	{ | ||||
| 	} | ||||
| 	 | ||||
|  | ||||
| 	FunctionDelegate& operator = (const FunctionDelegate& delegate) | ||||
| 	{ | ||||
| 		if (&delegate != this) | ||||
| @@ -401,7 +401,7 @@ public: | ||||
| 		if (_function) | ||||
| 		{ | ||||
| 			(*_function)(); | ||||
| 			return true;  | ||||
| 			return true; | ||||
| 		} | ||||
| 		else return false; | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 John Vandenberg
					John Vandenberg