0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 10:12:39 +01:00

ircd::json: Add semantics to prevent json::strung'ing itself.

This commit is contained in:
Jason Volk 2018-03-05 01:09:37 -08:00
parent b37bb580be
commit 664bee7f78

View file

@ -53,6 +53,8 @@ struct ircd::json::strung
:std::string
{
template<class... T> strung(T&&... t);
strung(strung &&s) noexcept: std::string{std::move(s)} {}
strung(const strung &s): std::string{s} {}
};
#include "util.h"