You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by am...@apache.org on 2018/05/10 14:27:29 UTC
[trafficserver] branch master updated: Clang: fix ats_scoped_fd
problem.
This is an automated email from the ASF dual-hosted git repository.
amc 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 1e7494d Clang: fix ats_scoped_fd problem.
1e7494d is described below
commit 1e7494dcfaa2f3f6789f80502d8bbee398e70506
Author: Alan M. Carroll <am...@apache.org>
AuthorDate: Thu May 10 06:55:54 2018 -0500
Clang: fix ats_scoped_fd problem.
---
cmd/traffic_cache_tool/CacheTool.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmd/traffic_cache_tool/CacheTool.cc b/cmd/traffic_cache_tool/CacheTool.cc
index cf70229..7b1f4cb 100644
--- a/cmd/traffic_cache_tool/CacheTool.cc
+++ b/cmd/traffic_cache_tool/CacheTool.cc
@@ -721,7 +721,7 @@ Span::loadDevice()
#endif
;
- ats_scoped_fd fd{_path.open(flags)};
+ ats_scoped_fd fd(_path.open(flags));
if (fd.isValid()) {
if (ink_file_get_geometry(fd, _geometry)) {
--
To stop receiving notification emails like this one, please contact
amc@apache.org.