Skip to content

Commit

Permalink
dtls_wrapper: Constify test name data
Browse files Browse the repository at this point in the history
  • Loading branch information
gjasny committed Dec 26, 2019
1 parent cc72d68 commit ef1aac8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions reflow/dtls_wrapper/test/testDtlsWrapper.cxx
Expand Up @@ -15,11 +15,11 @@ class TestDtlsSocketContext : public DtlsSocketContext
{
public:
DtlsSocket *mOtherSocket;
char *mName;
const char *mName;

//memory is only valid for duration of callback; must be copied if queueing
//is required
TestDtlsSocketContext(char *name):
TestDtlsSocketContext(const char *name):
mName(name){}

virtual ~TestDtlsSocketContext(){}
Expand Down

0 comments on commit ef1aac8

Please sign in to comment.