Skip to content

Commit 2a68f6d

Browse files
shubhamdpj0tunntcarmelveilleux
authored
[v1.4] fix: missing field initializer build error (#38069) (#38385)
* fix: missing field initializer build error (#38069) * Update src/app/data-model-provider/Provider.h Co-authored-by: Tennessee Carmel-Veilleux <[email protected]> --------- Co-authored-by: Anton Usmansky <[email protected]> Co-authored-by: Tennessee Carmel-Veilleux <[email protected]>
1 parent fdf483b commit 2a68f6d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/app/data-model-provider/Context.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ namespace DataModel {
3131
/// as well as fetching current state (via actionContext)
3232
struct InteractionModelContext
3333
{
34-
EventsGenerator * eventsGenerator;
35-
ProviderChangeListener * dataModelChangeListener;
36-
ActionContext * actionContext;
34+
EventsGenerator * eventsGenerator = nullptr;
35+
ProviderChangeListener * dataModelChangeListener = nullptr;
36+
ActionContext * actionContext = nullptr;
3737
};
3838

3939
} // namespace DataModel

src/app/data-model-provider/Provider.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ class Provider : public ProviderMetadataTree
116116
CommandHandler * handler) = 0;
117117

118118
private:
119-
InteractionModelContext mContext = { nullptr };
119+
InteractionModelContext mContext;
120120
};
121121

122122
} // namespace DataModel

0 commit comments

Comments
 (0)