You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
This pointer argument is read-only, the data is passed to PSP which is (correctly) a const void*
Describe the solution you'd like
Prototype should be:
Additional context
Should not cause any issue for existing code (OK to pass non-const to const, just not the other way). Making const-correct avoids issue/warning if called from an app using const data.
Requester Info
Joseph Hickey, Vantage Systems, Inc.
The text was updated successfully, but these errors were encountered:
The following functions have read-only inputs which are passed by
pointer, so it should be "const" qualified:
CFE_ES_CopyToCDS
CFE_SB_TransmitMsg
CFE_SB_TransmitMsgValidate
Is your feature request related to a problem? Please describe.
This pointer argument is read-only, the data is passed to PSP which is (correctly) a
const void*
Describe the solution you'd like
Prototype should be:
Additional context
Should not cause any issue for existing code (OK to pass non-const to const, just not the other way). Making const-correct avoids issue/warning if called from an app using
const
data.Requester Info
Joseph Hickey, Vantage Systems, Inc.
The text was updated successfully, but these errors were encountered: