mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-28 17:03:38 +00:00
[core] Use constexpr when possible
Signed-off-by: x7z4w <x7z4w@noreply.codeberg.org>
This commit is contained in:
@@ -85,8 +85,8 @@ namespace
|
||||
{
|
||||
df::ColorConstant const kColorConstant = "SearchmarkDefault";
|
||||
|
||||
float const kVisitedSymbolOpacity = 0.7f;
|
||||
float const kOutOfFiltersSymbolOpacity = 0.4f;
|
||||
float constexpr kVisitedSymbolOpacity = 0.7f;
|
||||
float constexpr kOutOfFiltersSymbolOpacity = 0.4f;
|
||||
|
||||
std::array<std::string, SearchMarkType::Count> const kSymbols = {
|
||||
"search-result", // Default.
|
||||
|
||||
Reference in New Issue
Block a user