We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9643828 commit 41520d5Copy full SHA for 41520d5
src/libxrpl/beast/utility/beast_Journal.cpp
@@ -156,9 +156,7 @@ Journal::JsonLogContext::reset(
156
if (!globalLogAttributesJson_.empty())
157
{
158
writer().writeKey("GlobalParams");
159
- writer().writeRaw(std::string_view{
160
- std::begin(globalLogAttributesJson_),
161
- std::end(globalLogAttributesJson_)});
+ writer().writeRaw(globalLogAttributesJson_);
162
writer().endObject();
163
}
164
@@ -196,8 +194,7 @@ Journal::initMessageContext(
196
194
currentJsonLogContext_.reset(
197
195
location,
198
severity,
199
- std::string_view{
200
- std::begin(m_attributesJson), std::end(m_attributesJson)});
+ m_attributesJson);
201
202
203
std::string_view
0 commit comments