Cosmetics.

This commit is contained in:
Bartosz Taudul 2019-05-10 20:20:08 +02:00
parent efc54babe3
commit 797ebd3caf

View File

@ -2112,7 +2112,7 @@ void Worker::AddSourceLocation( const QueueSourceLocation& srcloc )
CheckString( srcloc.name );
CheckString( srcloc.file );
CheckString( srcloc.function );
uint32_t color = ( srcloc.r << 16 ) | ( srcloc.g << 8 ) | srcloc.b;
const uint32_t color = ( srcloc.r << 16 ) | ( srcloc.g << 8 ) | srcloc.b;
it->second = SourceLocation { srcloc.name == 0 ? StringRef() : StringRef( StringRef::Ptr, srcloc.name ), StringRef( StringRef::Ptr, srcloc.function ), StringRef( StringRef::Ptr, srcloc.file ), srcloc.line, color };
}