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

Skip to content
Commit ca7ced38 authored by Tim Van Patten's avatar Tim Van Patten
Browse files

Cleanup GraphicsEnv::setAngleInfo()

Cleanup some minor nits and performance issues in
GraphicsEnv::setAngleInfo():

1. Make the paramater `eglFeatures` a reference.
   * This avoids the copy of the std::vector that's currently done every
   function call.
2. Remove `std::move()` calls on `const` values.
   * std::move() has no effect on const values, resulting in a copy
     anyway.

Bug: 372694741
Test: CQ
Change-Id: Id774e8c5aa06b966d04213251c195055e271687b
parent 38a4ab9f
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