aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/lwtrace/mon/analytics/html_output.h
diff options
context:
space:
mode:
authorVlad Yaroslavlev <vladon@vladon.com>2022-02-10 16:46:25 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:25 +0300
commit344ea37b4a345701ab0e67de2266a1c1bd7baf2d (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /library/cpp/lwtrace/mon/analytics/html_output.h
parent706b83ed7de5a473436620367af31fc0ceecde07 (diff)
downloadydb-344ea37b4a345701ab0e67de2266a1c1bd7baf2d.tar.gz
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/lwtrace/mon/analytics/html_output.h')
-rw-r--r--library/cpp/lwtrace/mon/analytics/html_output.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/library/cpp/lwtrace/mon/analytics/html_output.h b/library/cpp/lwtrace/mon/analytics/html_output.h
index 3b63a1ce5f..f775f216b9 100644
--- a/library/cpp/lwtrace/mon/analytics/html_output.h
+++ b/library/cpp/lwtrace/mon/analytics/html_output.h
@@ -7,9 +7,9 @@
namespace NAnalytics {
-inline TString ToHtml(const TTable& in)
+inline TString ToHtml(const TTable& in)
{
- TSet<TString> cols;
+ TSet<TString> cols;
bool hasName = false;
for (const TRow& row : in) {
hasName = hasName || !row.Name.empty();
@@ -24,7 +24,7 @@ inline TString ToHtml(const TTable& in)
if (hasName) {
ss << "<th>Name</th>";
}
- for (const TString& c : cols) {
+ for (const TString& c : cols) {
ss << "<th>" << c << "</th>";
}
ss << "</tr></thead><tbody>";
@@ -34,7 +34,7 @@ inline TString ToHtml(const TTable& in)
if (hasName) {
ss << "<th>" << row.Name << "</th>";
}
- for (const TString& c : cols) {
+ for (const TString& c : cols) {
TString value;
ss << "<td>" << (row.GetAsString(c, value) ? value : TString("-")) << "</td>";
}
@@ -45,9 +45,9 @@ inline TString ToHtml(const TTable& in)
return ss.Str();
}
-inline TString ToTransposedHtml(const TTable& in)
+inline TString ToTransposedHtml(const TTable& in)
{
- TSet<TString> cols;
+ TSet<TString> cols;
bool hasName = false;
for (const TRow& row : in) {
hasName = hasName || !row.Name.empty();
@@ -69,7 +69,7 @@ inline TString ToTransposedHtml(const TTable& in)
ss << "</thead><tbody>";
- for (const TString& c : cols) {
+ for (const TString& c : cols) {
ss << "<tr>";
ss << "<th>" << c << "</th>";
for (const TRow& row : in) {