util/AllocatedString, ...: add missing include for std::exchange()
Fixes building with GCC 12.
This commit is contained in:
parent
d94e8bd82d
commit
eea2d35d3a
1
NEWS
1
NEWS
@ -1,4 +1,5 @@
|
|||||||
ver 0.23.5 (not yet released)
|
ver 0.23.5 (not yet released)
|
||||||
|
* GCC 12 build fixes
|
||||||
|
|
||||||
ver 0.23.4 (2021/11/11)
|
ver 0.23.4 (2021/11/11)
|
||||||
* protocol
|
* protocol
|
||||||
|
@ -27,6 +27,7 @@
|
|||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
#include <utility>
|
||||||
|
|
||||||
struct Tag;
|
struct Tag;
|
||||||
class InputStreamHandler;
|
class InputStreamHandler;
|
||||||
|
@ -32,8 +32,8 @@
|
|||||||
|
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
#include <algorithm>
|
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
|
#include <utility>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* OO wrapper for "struct curl_slist *".
|
* OO wrapper for "struct curl_slist *".
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
|
|
||||||
#include <yajl/yajl_parse.h>
|
#include <yajl/yajl_parse.h>
|
||||||
|
|
||||||
#include <algorithm>
|
#include <utility>
|
||||||
|
|
||||||
namespace Yajl {
|
namespace Yajl {
|
||||||
|
|
||||||
|
@ -35,6 +35,7 @@
|
|||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
#include <utility>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An array allocated on the heap with a length determined at runtime.
|
* An array allocated on the heap with a length determined at runtime.
|
||||||
|
@ -35,6 +35,7 @@
|
|||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
#include <string_view>
|
#include <string_view>
|
||||||
|
#include <utility>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A string pointer whose memory is managed by this class.
|
* A string pointer whose memory is managed by this class.
|
||||||
|
Loading…
Reference in New Issue
Block a user