Skip to content
Snippets Groups Projects
Unverified Commit f503a781 authored by Charles Kerr's avatar Charles Kerr
Browse files

refactor: avoid repeating the return type from the declaration; use a braced...

refactor: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list]

NB: using the braced-initializer list uncovered an error here:
the float returned by std::floor() can't be implicitly cast to
an int. This is solved by using base::ClampFloor<int>() instead.
std::floor()
parent 186dfade
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment