-
Notifications
You must be signed in to change notification settings - Fork 484
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…8207) Add default copy, move ctor and assignment to classes where explicit dtor was added in #8198. An explicit dtor implies the object is not trivially destructed, hence compiler cannot assume the object can betrivially moved or maybe even assigned. Alas, full slew of essential operators must be explicitly defined. PR #8198 added explicit dtor to bo, device, hw_context, kernel and run. This PR adds the essential operators to those that did not already have them. Signed-off-by: Soren Soe <[email protected]>
- Loading branch information
Showing
3 changed files
with
84 additions
and
29 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
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