Skip to content
Snippets Groups Projects
Commit e6c421dd authored by Adrien Béraud's avatar Adrien Béraud Committed by Sébastien Blin
Browse files

sip: avoid unneeded calls to strlen


std::string includes the string size.
Use that size to initialize pj_str_t instead of calling strlen.

Also make constexpr some static strings

Change-Id: Icc1cdd16ad17aa03c16f44aef10cbe949e16ff0b
Reviewed-by: default avatarSébastien Blin <sebastien.blin@savoirfairelinux.com>
parent 57adfd4f
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment