0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-27 19:28:52 +02:00

configure: Check for <memory_resource> availability.

This commit is contained in:
Jason Volk 2019-02-28 10:17:07 -08:00
parent 43797c2b74
commit a600a28095
2 changed files with 2 additions and 0 deletions

View file

@ -661,6 +661,7 @@ RB_CHK_SYSHEADER(string_view, [STRING_VIEW])
RB_CHK_SYSHEADER(optional, [OPTIONAL]) RB_CHK_SYSHEADER(optional, [OPTIONAL])
RB_CHK_SYSHEADER(new, [NEW]) RB_CHK_SYSHEADER(new, [NEW])
RB_CHK_SYSHEADER(regex, [REGEX]) RB_CHK_SYSHEADER(regex, [REGEX])
RB_CHK_SYSHEADER(memory_resource, [MEMORY_RESOURCE])
dnl unix platform dnl unix platform
RB_CHK_SYSHEADER(unistd.h, [UNISTD_H]) RB_CHK_SYSHEADER(unistd.h, [UNISTD_H])

View file

@ -488,6 +488,7 @@ ircd::json::merge(stack::object &out,
{ {
struct val struct val
{ {
//TODO: optimize with std::pmr::monotonic_buffer_resource et al
std::map<string_view, val, std::less<>> o; std::map<string_view, val, std::less<>> o;
std::vector<string_view> a; std::vector<string_view> a;
string_view v; string_view v;