Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libdeng2: Trying out a DENG2_PRIVATE compatible with old compilers
std::auto_ptr<> with an undefined struct is not tolerated by some compilers. Now DENG2_PRIVATE uses a custom PrivateAutoPtr class that reinterprets the unknown instance type as an IPrivate when deleting.
- Loading branch information
Showing
1 changed file
with
38 additions
and
9 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