This is unnecessary, it can be protected and we can initialize wxWebRequest::m_headers directly in its ctor instead of using this function (which also simplifies code and makes it impossible to forget to do this).
This is unnecessary, it can be protected and we can initialize wxWebRequest::m_headers directly in its ctor instead of using this function (which also simplifies code and makes it impossible to forget to do this).