-
Notifications
You must be signed in to change notification settings - Fork 193
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Default copy constructor and copy assignment operators were still being generated, which produce bad implementations due to raw internal allocations. The tests were only exercising copy and assignment for vectors of different base capacities, which we do have non-default implementations for. Delete the copy constructor - it discourages use allocators, which is a Bad Thing. Implement the assignment operator. Add tests. Note: Nothing in marl was exercising these broken default constructors.
- Loading branch information
1 parent
fcbe1f2
commit c277c61
Showing
2 changed files
with
64 additions
and
0 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
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