You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by "jpeach (via GitHub)" <gi...@apache.org> on 2023/09/03 04:38:24 UTC

[GitHub] [trafficserver] jpeach commented on a diff in pull request #10321: Disable copying/moving for DbgCtl.

jpeach commented on code in PR #10321:
URL: https://github.com/apache/trafficserver/pull/10321#discussion_r1314100491


##########
include/ts/DbgCtl.h:
##########
@@ -90,6 +90,10 @@ class DbgCtl
   static void print(char const *tag, char const *file, char const *function, int line, char const *fmt_str, ...)
     TS_PRINTFLIKE(5, 6);
 
+  // No copying/moving.
+  DbgCtl(DbgCtl const &)            = delete;

Review Comment:
   Do we also need to delete `DbgCtl(DbgCtl const &&)` these days?



-- 
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.

To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org

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