Skip to content

Commit

Permalink
Fix C++03 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
lukas-w committed Aug 30, 2017
1 parent 9c91079 commit 73728d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/MemoryManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,10 @@ struct MmAllocator
{
MemoryManager::free( p );
}

typedef std::vector<T, MmAllocator<T> > vector;
};

template <typename T> using MmVector = std::vector<T, MmAllocator<T>>;

#define MM_OPERATORS \
public: \
Expand Down

0 comments on commit 73728d7

Please sign in to comment.