初步修复
This commit is contained in:
parent
8fc4357cc6
commit
e4714f3f0e
46705 changed files with 12004901 additions and 0 deletions
|
|
@ -0,0 +1,26 @@
|
|||
#ifndef CPPUNIT_PORTABILITY_CPPUNITSTACK_H
|
||||
#define CPPUNIT_PORTABILITY_CPPUNITSTACK_H
|
||||
|
||||
// The technic used is similar to the wrapper of STLPort.
|
||||
|
||||
#include <cppunit/Portability.h>
|
||||
#include <deque>
|
||||
#include <stack>
|
||||
|
||||
|
||||
#if CPPUNIT_STD_NEED_ALLOCATOR
|
||||
|
||||
template<class T>
|
||||
class CppUnitStack : public std::stack<T
|
||||
,std::deque<T,CPPUNIT_STD_ALLOCATOR> >
|
||||
{
|
||||
public:
|
||||
};
|
||||
|
||||
#else // CPPUNIT_STD_NEED_ALLOCATOR
|
||||
|
||||
#define CppUnitStack std::stack
|
||||
|
||||
#endif
|
||||
|
||||
#endif // CPPUNIT_PORTABILITY_CPPUNITSTACK_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue