comparison Core/HttpServer/StringHttpOutput.cpp @ 3402:cf31b5bacce3

removing unneeded casts
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 07 Jun 2019 15:06:17 +0200
parents 4e43e67f8ecf
children 94f4a18a79cc
comparison
equal deleted inserted replaced
3401:962e5f00744b 3402:cf31b5bacce3
57 57
58 void StringHttpOutput::Send(bool isHeader, const void* buffer, size_t length) 58 void StringHttpOutput::Send(bool isHeader, const void* buffer, size_t length)
59 { 59 {
60 if (!isHeader) 60 if (!isHeader)
61 { 61 {
62 buffer_.AddChunk(reinterpret_cast<const char*>(buffer), length); 62 buffer_.AddChunk(buffer, length);
63 } 63 }
64 } 64 }
65 65
66 void StringHttpOutput::GetOutput(std::string& output) 66 void StringHttpOutput::GetOutput(std::string& output)
67 { 67 {