mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-05 19:10:38 +01:00
aco: include <cstddef> in aco_util.h
It's needed for ptrdiff. Fixes:59fdaa1985('aco: reorder and cleanup #includes') Closes: #5076 Reviewed-by: Tony Wasserka <tony.wasserka@gmx.de> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11947> (cherry picked from commit1d8e9430d2)
This commit is contained in:
parent
83d94cfe71
commit
f2bdec9ecd
2 changed files with 3 additions and 2 deletions
|
|
@ -76,7 +76,7 @@
|
|||
"description": "aco: include <cstddef> in aco_util.h",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "59fdaa1985f9269c40f0ca4704fbeb3fb05c4c2f"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@
|
|||
#include "util/bitscan.h"
|
||||
|
||||
#include <cassert>
|
||||
#include <cstddef>
|
||||
#include <iterator>
|
||||
#include <vector>
|
||||
|
||||
|
|
@ -51,7 +52,7 @@ public:
|
|||
using reverse_iterator = std::reverse_iterator<iterator>;
|
||||
using const_reverse_iterator = std::reverse_iterator<const_iterator>;
|
||||
using size_type = uint16_t;
|
||||
using difference_type = ptrdiff_t;
|
||||
using difference_type = std::ptrdiff_t;
|
||||
|
||||
/*! \brief Compiler generated default constructor
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue