BLE_API for nRF51
Fork of BLE_API by
Diff: ble/FunctionPointerWithContext.h
- Revision:
- 849:0f5972e454b2
- Parent:
- 848:47c11ba90ff4
- Child:
- 850:32ff6e392630
diff -r 47c11ba90ff4 -r 0f5972e454b2 ble/FunctionPointerWithContext.h --- a/ble/FunctionPointerWithContext.h Mon Nov 02 09:09:05 2015 +0000 +++ b/ble/FunctionPointerWithContext.h Mon Nov 02 09:09:05 2015 +0000 @@ -130,7 +130,6 @@ class UndefinedClass; typedef void (UndefinedClass::*UndefinedMemberFunction)(ContextType); - void* _object; union { char _memberFunction[sizeof(UndefinedMemberFunction)]; @@ -138,8 +137,6 @@ }; }; - - union { void (*_function)(ContextType context); /**< static function pointer - NULL if none attached */ /**