mirror of
https://github.com/matrix-construct/construct
synced 2024-05-18 10:53:48 +02:00
configure: Check for <memory_resource> availability.
This commit is contained in:
parent
43797c2b74
commit
a600a28095
|
@ -661,6 +661,7 @@ RB_CHK_SYSHEADER(string_view, [STRING_VIEW])
|
|||
RB_CHK_SYSHEADER(optional, [OPTIONAL])
|
||||
RB_CHK_SYSHEADER(new, [NEW])
|
||||
RB_CHK_SYSHEADER(regex, [REGEX])
|
||||
RB_CHK_SYSHEADER(memory_resource, [MEMORY_RESOURCE])
|
||||
|
||||
dnl unix platform
|
||||
RB_CHK_SYSHEADER(unistd.h, [UNISTD_H])
|
||||
|
|
|
@ -488,6 +488,7 @@ ircd::json::merge(stack::object &out,
|
|||
{
|
||||
struct val
|
||||
{
|
||||
//TODO: optimize with std::pmr::monotonic_buffer_resource et al
|
||||
std::map<string_view, val, std::less<>> o;
|
||||
std::vector<string_view> a;
|
||||
string_view v;
|
||||
|
|
Loading…
Reference in a new issue