Minor reader formatting/comments

This commit is contained in:
Klaus Basan
2019-02-07 23:46:44 +01:00
committed by Mat Sutcliffe
parent a8187bbc0c
commit 1b7f1b1662
3 changed files with 8 additions and 6 deletions

View File

@@ -205,8 +205,8 @@ namespace BlackCore
CEntityFlags::EntityFlag CInfoDataReader::getEntityForMode() const
{
if (m_mode == CDbFlags::DbReading) return CEntityFlags::DbInfoObjectEntity;
if (m_mode == CDbFlags::Shared) return CEntityFlags::SharedInfoObjectEntity;
if (m_mode == CDbFlags::DbReading) { return CEntityFlags::DbInfoObjectEntity; }
if (m_mode == CDbFlags::Shared) { return CEntityFlags::SharedInfoObjectEntity; }
qFatal("Wrong mode");
return CEntityFlags::NoEntity;
}