mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-23 22:53:43 +00:00
[core] Use constexpr when possible
Signed-off-by: x7z4w <x7z4w@noreply.codeberg.org>
This commit is contained in:
@@ -211,7 +211,7 @@ void MyPosition::CacheSymbol(ref_ptr<dp::GraphicsContext> context, dp::TextureMa
|
||||
|
||||
void MyPosition::CachePointPosition(ref_ptr<dp::GraphicsContext> context, ref_ptr<dp::TextureManager> mng)
|
||||
{
|
||||
int const kSymbolsCount = 1;
|
||||
int constexpr kSymbolsCount = 1;
|
||||
dp::TextureManager::SymbolRegion pointSymbol;
|
||||
mng->GetSymbolRegion("current-position", pointSymbol);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user