Rename internal enum to avoid #define conflicts.

This commit is contained in:
Bartosz Taudul 2017-09-28 21:20:33 +02:00
parent 6ae62e6e5a
commit b9aa10913a
3 changed files with 3 additions and 3 deletions

View File

@ -124,7 +124,7 @@ void Profiler::ZoneName( uint64_t id, QueueZoneName&& data )
void Profiler::FrameMark()
{
QueueItem item;
item.hdr.type = QueueType::FrameMark;
item.hdr.type = QueueType::FrameMarkMsg;
item.hdr.id = (uint64_t)GetTime();
s_queue.enqueue( s_token, std::move( item ) );
}

View File

@ -13,7 +13,7 @@ enum class QueueType : uint8_t
StringData,
ThreadName,
CustomStringData,
FrameMark,
FrameMarkMsg,
SourceLocation,
ZoneText,
ZoneName,

View File

@ -239,7 +239,7 @@ void View::Process( const QueueItem& ev )
case QueueType::ZoneEnd:
ProcessZoneEnd( ev.hdr.id, ev.zoneEnd );
break;
case QueueType::FrameMark:
case QueueType::FrameMarkMsg:
ProcessFrameMark( ev.hdr.id );
break;
case QueueType::SourceLocation: