Make Tag::Error values constant

This commit is contained in:
Jon Siwek 2019-08-23 16:31:45 -07:00
parent b41e102a7c
commit 13af91febb
8 changed files with 8 additions and 8 deletions

View file

@ -3,7 +3,7 @@
#include "Tag.h"
#include "Manager.h"
logging::Tag logging::Tag::Error;
const logging::Tag logging::Tag::Error;
logging::Tag::Tag(type_t type, subtype_t subtype)
: ::Tag(log_mgr->GetTagEnumType(), type, subtype)

View file

@ -82,7 +82,7 @@ public:
*/
EnumVal* AsEnumVal() const;
static Tag Error;
static const Tag Error;
protected:
friend class plugin::ComponentManager<Tag, Component>;