You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by GitBox <gi...@apache.org> on 2020/04/22 14:07:33 UTC

[GitHub] [trafficserver] ywkaras commented on a change in pull request #6692: Fix deprecated-copy warning in cache tool

ywkaras commented on a change in pull request #6692:
URL: https://github.com/apache/trafficserver/pull/6692#discussion_r413014426



##########
File path: src/traffic_cache_tool/CacheTool.cc
##########
@@ -255,6 +255,8 @@ class VolumeAllocator
       : _config(config), _size(size), _deficit(deficit), _shares(shares)
     {
     }
+    V(const V &v) : _config(v._config), _size(v._size), _deficit(v._deficit), _shares(v._shares) {}

Review comment:
       Ah I didn't know an implicit copy assignment isn't defined if any member variables are references.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org