You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bc...@apache.org on 2022/12/13 00:14:50 UTC

[trafficserver] branch master updated: Clean RefCountObj (#9217)

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 5f27946ba Clean RefCountObj (#9217)
5f27946ba is described below

commit 5f27946ba19cf9405afa71fdb150af599f8e28bc
Author: cukiernik <pi...@intel.com>
AuthorDate: Tue Dec 13 01:14:42 2022 +0100

    Clean RefCountObj (#9217)
---
 include/tscore/Ptr.h | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/include/tscore/Ptr.h b/include/tscore/Ptr.h
index 0f221c831..c62adc99c 100644
--- a/include/tscore/Ptr.h
+++ b/include/tscore/Ptr.h
@@ -47,11 +47,7 @@ class RefCountObj : public ForceVFPTToTop
 {
 public:
   RefCountObj() {}
-  RefCountObj(const RefCountObj &s)
-  {
-    (void)s;
-    return;
-  }
+  RefCountObj(const RefCountObj &) {}
 
   ~RefCountObj() override {}
   RefCountObj &