We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 275e1d1 commit 87572c9Copy full SHA for 87572c9
libvisual/libvisual/lv_aligned_allocator.hpp
@@ -37,7 +37,7 @@ namespace LV
37
if (!ptr)
38
throw std::bad_alloc {};
39
40
- return ptr;
+ return static_cast<T*> (ptr);
41
}
42
43
void deallocate (T* ptr, std::size_t) noexcept
0 commit comments