mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 17:40:23 +08:00
git-svn-id: http://rtabmap.googlecode.com/svn/branches/0.3/rtabmap@52 f169173b-cf89-36c8-b27e-44dbe73f0c83
26 lines
459 B
C++
26 lines
459 B
C++
#ifndef CPPUNIT_PORTABILITY_CPPUNITVECTOR_H
|
|
#define CPPUNIT_PORTABILITY_CPPUNITVECTOR_H
|
|
|
|
// The technic used is similar to the wrapper of STLPort.
|
|
|
|
#include <cppunit/Portability.h>
|
|
#include <vector>
|
|
|
|
|
|
#if CPPUNIT_STD_NEED_ALLOCATOR
|
|
|
|
template<class T>
|
|
class CppUnitVector : public std::vector<T,CPPUNIT_STD_ALLOCATOR>
|
|
{
|
|
public:
|
|
};
|
|
|
|
#else // CPPUNIT_STD_NEED_ALLOCATOR
|
|
|
|
#define CppUnitVector std::vector
|
|
|
|
#endif
|
|
|
|
#endif // CPPUNIT_PORTABILITY_CPPUNITVECTOR_H
|
|
|