Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing unique_ptr move for older gcc and clang versions
There seems to a problem with gcc 4.9 and clang 3.8 and 3.9 when moving a unique_ptr with custom deleter. This is a workaround to fix this issue.
- Loading branch information
Thomas Heller
committed
Nov 22, 2017
1 parent
ef0d2ab
commit 563705e
Showing
1 changed file
with
27 additions
and
13 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