Merge branch 'master' of https://git.did.science/WolverinDEV/TeaSpeak-SharedLib
This commit is contained in:
		
						commit
						952c4bf489
					
				| @ -167,4 +167,8 @@ DEFINE_TRANSFORMS(ts::PluginTargetMode, uint8_t); | ||||
| DEFINE_TRANSFORMS(ts::ViewReasonId, uint8_t); | ||||
| DEFINE_TRANSFORMS(ts::ChatMessageMode, uint8_t); | ||||
| 
 | ||||
| #define ts_always_inline inline __attribute__((always_inline)) | ||||
| #ifdef WIN32 | ||||
| #define ts_always_inline __forceinline | ||||
| #else | ||||
| #define ts_always_inline inline __attribute__((__always_inline__)) | ||||
| #endif | ||||
| @ -641,7 +641,7 @@ namespace ts { | ||||
|                 Permission(const Permission &) = delete; | ||||
| 
 | ||||
|                 Permission() = delete; | ||||
|                 ~Permission(){ } | ||||
|                 ~Permission()= default; | ||||
| 
 | ||||
|                 std::shared_ptr<BasicChannel> channel = nullptr; | ||||
|                 ChannelId channelId(); | ||||
| @ -749,7 +749,9 @@ namespace ts { | ||||
| 		        bool flag_value_update: 1; | ||||
| 		        bool flag_grant_update: 1; | ||||
| 
 | ||||
| 		        ts_always_inline bool permission_set() { return this->value_set || this->grant_set; } | ||||
| 		        ts_always_inline bool permission_set() { | ||||
| 		            return this->value_set || this->grant_set; | ||||
| 		        } | ||||
| 	        }; | ||||
| 	        static_assert(sizeof(PermissionFlags) == 1); | ||||
| 
 | ||||
|  | ||||
| @ -3,7 +3,7 @@ | ||||
| #include <atomic> | ||||
| #include <thread> | ||||
| 
 | ||||
| #ifdef WIN2 | ||||
| #ifdef WIN32 | ||||
| 	#define always_inline __forceinline | ||||
| #else | ||||
|     #define always_inline inline __attribute__((__always_inline__)) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user