explicitly initialize Header member
This commit is contained in:
parent
ea05aa225e
commit
971c557d85
@ -31,7 +31,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||||||
namespace http
|
namespace http
|
||||||
{
|
{
|
||||||
|
|
||||||
RequestParser::RequestParser() : state_(method_start) {}
|
RequestParser::RequestParser() : state_(method_start), header({"", ""}) {}
|
||||||
|
|
||||||
void RequestParser::Reset() { state_ = method_start; }
|
void RequestParser::Reset() { state_ = method_start; }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user