mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-10 07:55:35 +00:00
pointer cast
This commit is contained in:
parent
54964dd4bb
commit
212c13bb2c
@ -49,9 +49,9 @@ public:
|
||||
|
||||
void deallocate(pointer __p, size_type) {
|
||||
#ifdef HAVE_MM_MALLOC_H
|
||||
_mm_free(__p);
|
||||
_mm_free((void *)__p);
|
||||
#else
|
||||
free(__p);
|
||||
free((void *)__p);
|
||||
#endif
|
||||
}
|
||||
void construct(pointer __p, const _Tp& __val) { };
|
||||
|
Loading…
Reference in New Issue
Block a user