mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-22 08:02:06 +02:00
Merge branch 'poco-1.10.0' of https://github.com/pocoproject/poco into poco-1.10.0
This commit is contained in:
@@ -54,8 +54,8 @@ class TestCaller: public TestCase
|
||||
typedef void (Fixture::*TestMethod)();
|
||||
|
||||
public:
|
||||
TestCaller(const std::string& name, TestMethod test, Test::Type testType = Test::Normal):
|
||||
TestCase(name, testType),
|
||||
TestCaller(const std::string& name, TestMethod test, Test::Type testType = Test::Normal):
|
||||
TestCase(name, testType),
|
||||
_test(test),
|
||||
_fixture(new Fixture(name))
|
||||
{
|
||||
@@ -81,11 +81,7 @@ protected:
|
||||
|
||||
private:
|
||||
TestMethod _test;
|
||||
#ifndef POCO_ENABLE_CPP11
|
||||
std::auto_ptr<Fixture> _fixture;
|
||||
#else
|
||||
std::unique_ptr<Fixture> _fixture;
|
||||
#endif // POCO_ENABLE_CPP11
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user