mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
synced 2024-11-05 12:20:07 +00:00
Fixes for Linux compilation (not everything fixed yet).
This commit is contained in:
parent
2fd0415efa
commit
7d1c689f1e
@ -1226,7 +1226,7 @@ remove them if not needed.
|
||||
#include <cassert> // for assert
|
||||
#include <algorithm> // for min, max
|
||||
#include <mutex> // for std::mutex
|
||||
#include <atomic> // for std::atomic_int64_t
|
||||
#include <atomic> // for std::atomic_uint32_t
|
||||
|
||||
#if !defined(_WIN32)
|
||||
#include <malloc.h> // for aligned_alloc()
|
||||
@ -1977,7 +1977,7 @@ template<typename CmpLess, typename VectorT>
|
||||
bool VmaVectorRemoveSorted(VectorT& vector, const typename VectorT::value_type& value)
|
||||
{
|
||||
CmpLess comparator;
|
||||
VectorT::iterator it = VmaBinaryFindFirstNotLess(
|
||||
typename VectorT::iterator it = VmaBinaryFindFirstNotLess(
|
||||
vector.data(),
|
||||
vector.data() + vector.size(),
|
||||
value,
|
||||
@ -1995,7 +1995,7 @@ template<typename CmpLess, typename VectorT>
|
||||
size_t VmaVectorFindSorted(const VectorT& vector, const typename VectorT::value_type& value)
|
||||
{
|
||||
CmpLess comparator;
|
||||
VectorT::iterator it = VmaBinaryFindFirstNotLess(
|
||||
typename VectorT::iterator it = VmaBinaryFindFirstNotLess(
|
||||
vector.data(),
|
||||
vector.data() + vector.size(),
|
||||
value,
|
||||
|
Loading…
Reference in New Issue
Block a user