| 2219 | */ |
| 2220 | template<typename T> |
| 2221 | void aligned_free(T* ptr) |
| 2222 | { |
| 2223 | #if defined(_WIN32) |
| 2224 | _aligned_free(const_cast<typename std::remove_const<T>::type *>(ptr)); |
| 2225 | #else |
| 2226 | free(const_cast<typename std::remove_const<T>::type *>(ptr)); |
| 2227 | #endif |
| 2228 | } |
| 2229 | |
| 2230 | #endif |
nothing calls this directly
no outgoing calls
no test coverage detected