summaryrefslogtreecommitdiff
path: root/http.cpp
diff options
context:
space:
mode:
authorChristian Blichmann <cblichmann@google.com>2022-10-20 11:35:28 +0200
committerPeter LaFosse <peter@vector35.com>2022-11-10 16:20:26 -0500
commit7763b7ab173151aa01b017e1902e1de716f2a1ee (patch)
tree85d0a872c3dfacceb9b655d90d1888d30f246603 /http.cpp
parenta46fea09fd927e165781d8936aa53e8bea69a78a (diff)
Include C++ standard headers
When compiling in C++ mode, the C++ standard library headers should be included instead of their C counterparts. Drive-by: - Removed include of `json/json.h` from `settings.cpp`, where it was not used
Diffstat (limited to 'http.cpp')
-rw-r--r--http.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/http.cpp b/http.cpp
index 08bdc275..f1b5d100 100644
--- a/http.cpp
+++ b/http.cpp
@@ -18,7 +18,7 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
// IN THE SOFTWARE.
-#include <string.h>
+#include <cstring>
#include <chrono>
#include <thread>
#include <math.h>