diff options
| author | Yuly Novikov <ynovikov@chromium.org> | 2018-01-12 18:54:12 -0500 |
|---|---|---|
| committer | Mike Weiblen <mikew@lunarg.com> | 2018-01-16 11:28:24 -0700 |
| commit | 154569044e0d0b73924382ebb34738f001488c34 (patch) | |
| tree | e770c5a4f0c3be73b5aeb0a8c0cdf3b9d60e2366 /layers/descriptor_sets.cpp | |
| parent | 38393072df1f0f00b208b3273b9ec534513bd1b5 (diff) | |
| download | usermoji-154569044e0d0b73924382ebb34738f001488c34.tar.xz | |
layers: Fix Android build
ndk-bundle/sources/cxx-stl/llvm-libc++/include/set
expects comparator's operator() to be const.
Diffstat (limited to 'layers/descriptor_sets.cpp')
| -rw-r--r-- | layers/descriptor_sets.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layers/descriptor_sets.cpp b/layers/descriptor_sets.cpp index 705ef3c6..79e3ca44 100644 --- a/layers/descriptor_sets.cpp +++ b/layers/descriptor_sets.cpp @@ -30,7 +30,7 @@ #include <algorithm> struct BindingNumCmp { - bool operator()(const VkDescriptorSetLayoutBinding *a, const VkDescriptorSetLayoutBinding *b) { + bool operator()(const VkDescriptorSetLayoutBinding *a, const VkDescriptorSetLayoutBinding *b) const { return a->binding < b->binding; } }; |
