Its about const correctness, which is a good idea especially for API or core Code.
https://isocpp.org/wiki/faq/const-correctness#overview-const
________________________________
From: sr-dev <sr-dev-bounces(a)lists.kamailio.org> on behalf of Daniel-Constantin
Mierla <notifications(a)github.com>
Sent: Friday, May 20, 2022 2:32:08 PM
To: Kamailio Devel List <sr-dev(a)lists.sip-router.org>
Cc: Subscribed <subscribed(a)noreply.github.com>
Subject: Re: [sr-dev] [kamailio/kamailio] core: const correctness (PR #3120)
Can you provide more details why these changes are useful or necessary?
—
Reply to this email directly, view it on
GitHub<https://github.com/kamailio/kamailio/pull/3120#issuecomment-11327…74>, or
unsubscribe<https://github.com/notifications/unsubscribe-auth/ABO7UZJKY2…NA>.
You are receiving this because you are subscribed to this thread.Message ID:
<kamailio/kamailio/pull/3120/c1132793374(a)github.com>