[freebsd/lutok] 1c175a: Delete the copy/assign operators with `delete`

0 views
Skip to first unread message

Enji Cooper

unread,
Jan 1, 2025, 1:39:02 AM1/1/25
to luto...@googlegroups.com
Branch: refs/heads/master
Home: https://github.com/freebsd/lutok
Commit: 1c175a81392e35a4d42371aa865cc4bffc0f2872
https://github.com/freebsd/lutok/commit/1c175a81392e35a4d42371aa865cc4bffc0f2872
Author: Enji Cooper <ng...@FreeBSD.org>
Date: 2024-12-31 (Tue, 31 Dec 2024)

Changed paths:
M stack_cleaner.hpp

Log Message:
-----------
Delete the copy/assign operators with `delete`

This C++-11+ compatible syntax makes it explicitly clear that these
methods are not implemented, despite the fact that they were available
in the implicit protected namespace for the `stack_cleaner` object.

This in turn mutes valid complaints from Doxygen about undocumented
return types.

Signed-off-by: Enji Cooper <ng...@FreeBSD.org>



To unsubscribe from these emails, change your notification settings at https://github.com/freebsd/lutok/settings/notifications

Enji Cooper

unread,
Jan 1, 2025, 2:53:59 AM1/1/25
to luto...@googlegroups.com
Branch: refs/tags/lutok-0.6
Reply all
Reply to author
Forward
0 new messages