-
Notifications
You must be signed in to change notification settings - Fork 3k
Cellular: Initialize CellularContext member variables in correct class #10557
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
CellularContext member variables were initialized in inheriting class. Now in base class where they should be initialized so that every inheriting class don't have to init them.
@jarvte, thank you for your changes. |
@@ -19,6 +19,15 @@ | |||
|
|||
namespace mbed { | |||
|
|||
CellularContext::CellularContext() : _next(0), _stack(0), _pdp_type(DEFAULT_PDP_TYPE), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be inited in the same order as declared in header?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, and they are what I can tell. Please tell which are not in correct order.
CI started |
Test run: FAILEDSummary: 1 of 7 test jobs failed Failed test jobs:
|
CI restarted |
Test run: FAILEDSummary: 1 of 11 test jobs failed Failed test jobs:
|
There is something strange, conflict wise, with both this and the related 10554 and neither will patch across to 5.12. Thus bumping to 5.13. |
Description
CellularContext member variables were initialized in inheriting class.
Now in base class where they should be initialized so that every inheriting
class don't have to init them.
Pull request type
Reviewers
@AnttiKauppila
Release Notes