Skip to content
Commit e052c799 authored by Peter Bigot's avatar Peter Bigot Committed by Ioannis Glaropoulos
Browse files

settings: add const qualifier for unmodified data source



Code using this API to set a key to a value that is a string literal
produces errors in C++ because the passed pointer is not const
qualified, allowing the possibility that the callee modifies the
referenced string literal memory.  Add the required const qualifiers
since the set function does not change the passed to it.

Signed-off-by: default avatarPeter Bigot <peter.bigot@nordicsemi.no>
parent 94b744cc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment