1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Fix compilation error with C++20

This commit is contained in:
attila 2024-06-21 17:28:43 +02:00 committed by Attila Szarvas
parent 1019614dcd
commit adbb0850ed

View file

@ -63,28 +63,28 @@ struct Ranges final
struct New
{
New() = delete;
explicit New (size_t x) : index { x } {}
size_t index;
};
struct Split
{
Split() = delete;
explicit Split (size_t x) : index { x } {}
size_t index;
};
struct Erase
{
Erase() = delete;
explicit Erase (Range<size_t> x) : range { x } {}
Range<size_t> range;
};
struct Change
{
Change() = delete;
explicit Change (size_t x) : index { x } {}
size_t index;
};