-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace Rule of 0 compliance with Rule of 3
Friendship ended with Rule of 0, now Rule of 3 is my best friend Jokes aside though, the Rule of 0 plan didn't quite work out. The unique_ptr for the curl pointer marks the copy constructor and copy assignment operator as deleted, which I don't want. Fixed it by returning to monke (raw pointer for curl) and following the Rule of 3 Bonus: improved code comments
- Loading branch information
Showing
1 changed file
with
86 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters