util/AllocatedString, ...: add missing include for std::exchange()

Fixes building with GCC 12.
This commit is contained in:
Max Kellermann
2021-11-19 16:04:25 +01:00
parent d94e8bd82d
commit eea2d35d3a
6 changed files with 6 additions and 2 deletions

View File

@@ -32,8 +32,8 @@
#include <curl/curl.h>
#include <algorithm>
#include <stdexcept>
#include <utility>
/**
* OO wrapper for "struct curl_slist *".

View File

@@ -32,7 +32,7 @@
#include <yajl/yajl_parse.h>
#include <algorithm>
#include <utility>
namespace Yajl {