mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fabric: Removed obsolete type definition in EventEmitter
Summary: We merge `events` module into `core` long time ago, so we don't need this anymore. Reviewed By: mdvacca Differential Revision: D17142174 fbshipit-source-id: 6e63f7f22dc3d65ed2f9cc3bd4f4776404dfe788
This commit is contained in:
committed by
Facebook Github Bot
parent
49f59a6b9e
commit
a4221e9f68
@@ -13,6 +13,7 @@
|
||||
#include <react/core/EventDispatcher.h>
|
||||
#include <react/core/EventPriority.h>
|
||||
#include <react/core/EventTarget.h>
|
||||
#include <react/core/ReactPrimitives.h>
|
||||
|
||||
namespace facebook {
|
||||
namespace react {
|
||||
@@ -28,12 +29,6 @@ using SharedEventEmitter = std::shared_ptr<const EventEmitter>;
|
||||
* event.
|
||||
*/
|
||||
class EventEmitter {
|
||||
/*
|
||||
* We have to repeat `Tag` type definition here because `events` module does
|
||||
* not depend on `core` module (and should not).
|
||||
*/
|
||||
using Tag = int32_t;
|
||||
|
||||
public:
|
||||
using Shared = std::shared_ptr<EventEmitter const>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user