Skip to content

Commit e7816f1

Browse files
committed
fix: missing field initializer build error
1 parent 79da246 commit e7816f1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

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

+3-3
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

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ class Provider : public ProviderMetadataTree
118118
CommandHandler * handler) = 0;
119119

120120
protected:
121-
InteractionModelContext mContext = { nullptr };
121+
InteractionModelContext mContext = {};
122122
};
123123

124124
} // namespace DataModel

0 commit comments

Comments
 (0)