| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent fe62f89 commit 0d3315d
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -166,4 +166,10 @@ struct EngineInterface | |||
| 166 | 166 | ||
| 167 | 167 | }; | |
| 168 | 168 | ||
| 169 | + /////////////////////////////////////////////////////////////////////////////////////////////////// | ||
| 170 | + /// Engine traits | ||
| 171 | + /////////////////////////////////////////////////////////////////////////////////////////////////// | ||
| 172 | + template <typename> struct EnableNodeUpdateTimer : std::false_type {}; | ||
| 173 | + template <typename> struct EnableParallelUpdating : std::false_type {}; | ||
| 174 | + | ||
| 169 | 175 | /****************************************/ REACT_IMPL_END /***************************************/ | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -17,15 +17,13 @@ | |||
| 17 | 17 | ||
| 18 | 18 | #include "react/common/Util.h" | |
| 19 | 19 | #include "react/common/Types.h" | |
| 20 | + #include "react/detail/IReactiveEngine.h" | ||
| 20 | 21 | ||
| 21 | 22 | /***************************************/ REACT_IMPL_BEGIN /**************************************/ | |
| 22 | 23 | ||
| 23 | 24 | /////////////////////////////////////////////////////////////////////////////////////////////////// | |
| 24 | 25 | /// NodeUpdateTimer | |
| 25 | 26 | /////////////////////////////////////////////////////////////////////////////////////////////////// | |
| 26 | - template <typename T> | ||
| 27 | - struct EnableNodeUpdateTimer : std::false_type {}; | ||
| 28 | - | ||
| 29 | 27 | template <typename D, bool enabled> | |
| 30 | 28 | class NodeUpdateTimer; | |
| 31 | 29 | ||
@@ -126,9 +124,7 @@ class ReactiveNode : | |||
| 126 | 124 | public: | |
| 127 | 125 | using PtrT = std::shared_ptr<ReactiveNode>; | |
| 128 | 126 | ||
| 129 | - ReactiveNode() | ||
| 130 | - { | ||
| 131 | - } | ||
| 127 | + ReactiveNode() = default; | ||
| 132 | 128 | ||
| 133 | 129 | ~ReactiveNode() | |
| 134 | 130 | { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments