Skip to content

Commit

Permalink
shared_control cannot be copied
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdomino committed Jun 18, 2024
1 parent 8f0307e commit f25fe72
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ctl/shared_ptr.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ struct shared_control
constexpr shared_control() noexcept : shared(0), weak(0)
{
}
shared_control(const shared_control&) = delete;
virtual ~shared_control()
{
}
Expand Down

0 comments on commit f25fe72

Please sign in to comment.