Skip to content
Snippets Groups Projects
Commit 977ef353 authored by Vladimir Davydov's avatar Vladimir Davydov
Browse files

sptree: don't use variable length arrays

This causes warnings if compiled with clang-18. Let's define a sane
upper limit for the max tree depth and use it for allocating arrays
on stack. Note that we don't really care about performance because
sptree is used only in unit tests.

Closes #10354

NO_DOC=internal
NO_TEST=internal
NO_CHANGELOG=internal

(cherry picked from commit 187d288f0c3b008ed2d281e8bb43159e44c4106e)
parent 7d120035
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment