Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 17f6b972 authored by Dominik Laskowski's avatar Dominik Laskowski
Browse files

FTL: Prevent InitializerList overflow

Users so far use the deduction guide, but this should not compile:

    ftl::StaticVector<int, 1> vector = ftl::init::list<int>(0)(1);

Bug: 185536303
Test: m ftl_test
Change-Id: Icc1263ebdb9326948f0fc2f9c9f01f21b0b8302d
parent 953b7fd0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment