You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2020/05/14 22:05:33 UTC

[trafficserver] branch 7.1.x updated: updated clang-format

This is an automated email from the ASF dual-hosted git repository.

zwoop pushed a commit to branch 7.1.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/7.1.x by this push:
     new 4c4b74d  updated clang-format
4c4b74d is described below

commit 4c4b74dd08349962ab004713453643bae180a553
Author: Leif Hedstrom <le...@ogre.com>
AuthorDate: Thu May 14 16:05:15 2020 -0600

    updated clang-format
---
 cmd/traffic_top/stats.h | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/cmd/traffic_top/stats.h b/cmd/traffic_top/stats.h
index 8fdcc00..f52653f 100644
--- a/cmd/traffic_top/stats.h
+++ b/cmd/traffic_top/stats.h
@@ -60,7 +60,7 @@ const char end[]       = "\",\n";
 //----------------------------------------------------------------------------
 class Stats
 {
-  using string                            = std::string;
+  using string = std::string;
   template <class Key, class T> using map = std::map<Key, T>;
 
 public:
@@ -495,11 +495,11 @@ public:
   }
 
 private:
- std::pair<std::string, LookupItem>
- make_pair(std::string s, LookupItem i)
- {
-   return std::make_pair(s, i);
- }
+  std::pair<std::string, LookupItem>
+  make_pair(std::string s, LookupItem i)
+  {
+    return std::make_pair(s, i);
+  }
 
   map<string, string> *_stats;
   map<string, string> *_old_stats;