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

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


The following commit(s) were added to refs/heads/9.0.x by this push:
     new 1b38cfd  Fix deprecated-copy warning in cache tool
1b38cfd is described below

commit 1b38cfdbb16b5ca37dac3793dccd14d5be34a81e
Author: Masaori Koshiba <masa...@apache.org>
AuthorDate: Tue Apr 21 14:44:05 2020 +0900

    Fix deprecated-copy warning in cache tool
    
    (cherry picked from commit 016d9c806af385f9db19941219373aed536f3fe5)
---
 src/traffic_cache_tool/CacheTool.cc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/traffic_cache_tool/CacheTool.cc 
b/src/traffic_cache_tool/CacheTool.cc
index 4a68d6d..85ceced 100644
--- a/src/traffic_cache_tool/CacheTool.cc
+++ b/src/traffic_cache_tool/CacheTool.cc
@@ -255,6 +255,8 @@ class VolumeAllocator
       : _config(config), _size(size), _deficit(deficit), _shares(shares)
     {
     }
+    V(const V &v) = default;
+
     V &
     operator=(V const &that)
     {

Reply via email to