File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ void event_impl::setContextImpl(context_impl &Context) {
161
161
MContext = Context.shared_from_this ();
162
162
}
163
163
void event_impl::setContextImpl (context_impl *Context) {
164
- MIsHostEvent = false ;
164
+ MIsHostEvent = Context == nullptr ;
165
165
MContext = Context ? Context->shared_from_this () : nullptr ;
166
166
}
167
167
Original file line number Diff line number Diff line change @@ -149,13 +149,11 @@ class event_impl {
149
149
150
150
// / Associate event with the context.
151
151
// /
152
- // / Provided UrContext inside ContextImplPtr must be associated
152
+ // / Provided UrContext inside Context must be associated
153
153
// / with the UrEvent object stored in this class
154
- // /
155
- // / @param Context is a shared pointer to an instance of valid context_impl.
154
+ void setContextImpl (std::shared_ptr<context_impl> &&Context);
156
155
void setContextImpl (context_impl &Context);
157
156
void setContextImpl (context_impl *Context);
158
- void setContextImpl (std::shared_ptr<context_impl> &&Context);
159
157
160
158
// / Clear the event state
161
159
void setStateIncomplete ();
You can’t perform that action at this time.
0 commit comments