mirror of
https://github.com/paboyle/Grid.git
synced 2026-10-05 23:48:05 +01:00
pointer cast
This commit is contained in:
1 parent
ae0873bc77
commit
625bb1d7ee
1 file changed
+2
-2
@@ -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) { };
|
||||
|
||||
Reference in new issue
Block a user