This is an automated email from the ASF dual-hosted git repository.
bcall 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 210d17e032 Fix build issue with Ubuntu 20.04 using clang (#10545)
210d17e032 is described below
commit 210d17e032f73617e962f1568d14a07b8c1d4c0d
Author: Bryan Call <[email protected]>
AuthorDate: Thu Sep 28 11:28:45 2023 -0700
Fix build issue with Ubuntu 20.04 using clang (#10545)
---
src/traffic_ctl/CtrlCommands.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/traffic_ctl/CtrlCommands.cc b/src/traffic_ctl/CtrlCommands.cc
index 1120ba1ba0..18a8d410ff 100644
--- a/src/traffic_ctl/CtrlCommands.cc
+++ b/src/traffic_ctl/CtrlCommands.cc
@@ -56,7 +56,7 @@ parse_format(ts::Arguments *args)
BasePrinter::Options::OutputFormat
val{BasePrinter::Options::OutputFormat::NOT_SET};
if (auto data = args->get("format"); data) {
- StringToOutputFormatMap::const_iterator search =
_Fmt_str_to_enum.find({data.value()});
+ StringToOutputFormatMap::const_iterator search =
_Fmt_str_to_enum.find(data.value());
if (search != std::end(_Fmt_str_to_enum)) {
val = search->second;
}