Sync'ed with deveop changes.

This commit is contained in:
Ion Gaztañaga
2014-02-14 22:58:38 +01:00
parent ae31857124
commit 7ca156661f
3 changed files with 3 additions and 11 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ class test_allocator
}
std::size_t max_size() const
{ return std::size_t(Id); }
{ return std::size_t(-1); }
T* allocate(std::size_t n)
{ return (T*)::new char[n*sizeof(T)]; }