mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 03:08:26 +00:00
Stupid design choice in cppunit fixt -.-
This commit is contained in:
@@ -55,7 +55,7 @@ namespace Test
|
||||
Suite();
|
||||
virtual ~Suite();
|
||||
|
||||
void add(std::auto_ptr<Suite> suite);
|
||||
void add(Suite* suite);
|
||||
|
||||
bool run(Output& output, bool cont_after_fail = true);
|
||||
|
||||
|
||||
@@ -117,9 +117,9 @@ namespace Test
|
||||
/// \param suite %Test suite to add.
|
||||
///
|
||||
void
|
||||
Suite::add(auto_ptr<Suite> suite)
|
||||
Suite::add(Suite* suite)
|
||||
{
|
||||
_suites.push_back(suite.release());
|
||||
_suites.push_back(suite);
|
||||
}
|
||||
|
||||
/// Registers a test function.
|
||||
|
||||
Reference in New Issue
Block a user