mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-24 09:12:28 +02:00
use std::unique_ptr instead of std::auto_ptr with C++11 or newer compilers to avoid std::auto_ptr deprecation warnings
This commit is contained in:
@@ -89,7 +89,11 @@ protected:
|
||||
|
||||
private:
|
||||
TestMethod _test;
|
||||
#if __cplusplus < 201103L
|
||||
std::auto_ptr<Fixture> _fixture;
|
||||
#else
|
||||
std::unique_ptr<Fixture> _fixture;
|
||||
#endif
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user