You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by sc...@apache.org on 2019/02/27 02:23:42 UTC

[trafficserver] branch master updated: Fixed compiler error with std::string_view

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

scw00 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new 3b611dc  Fixed compiler error with std::string_view
3b611dc is described below

commit 3b611dcefe2f0362db7ecbcd233ea828a74faa3b
Author: scw00 <sc...@apache.org>
AuthorDate: Thu Feb 21 18:40:57 2019 +0800

    Fixed compiler error with std::string_view
---
 mgmt/MgmtDefs.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/mgmt/MgmtDefs.h b/mgmt/MgmtDefs.h
index 6932868..868ec25 100644
--- a/mgmt/MgmtDefs.h
+++ b/mgmt/MgmtDefs.h
@@ -31,6 +31,7 @@
 
 #include "tscore/ink_defs.h"
 #include "tscpp/util/MemSpan.h"
+#include "tscpp/util/TextView.h"
 
 typedef int64_t MgmtIntCounter;
 typedef int64_t MgmtInt;
@@ -142,4 +143,4 @@ inline MgmtConverter::MgmtConverter(MgmtInt (*_load_int)(void *), void (*_store_
 {
 }
 
-constexpr std::string_view LM_CONNECTION_SERVER{"processerver.sock"};
+constexpr ts::TextView LM_CONNECTION_SERVER{"processerver.sock"};