[*] MSVC Build Error in some projects

This commit is contained in:
Reece Wilson 2021-10-01 17:26:13 +01:00
parent caa983ecad
commit 31c9f32a24

View File

@ -21,7 +21,7 @@ namespace Aurora::Time
namespace Aurora::Console
{
class AUKN_SYM ConsoleMessage
class ConsoleMessage
{
public:
EAnsiColor color;
@ -30,26 +30,26 @@ namespace Aurora::Console
AuUInt64 time;
AuThreadId_t tid;
ConsoleMessage()
inline ConsoleMessage()
{
color = EAnsiColor::eReset;
}
ConsoleMessage(const AuString &prefix, const AuString &line) : prefix(prefix), line(line), color(EAnsiColor::eReset)
inline ConsoleMessage(const AuString &prefix, const AuString &line) : prefix(prefix), line(line), color(EAnsiColor::eReset)
{
time = Time::CurrentClockMS();
tid = Threading::Threads::GetThreadId();
}
ConsoleMessage(const EAnsiColor color, const AuString &prefix, const AuString &line) : prefix(prefix), line(line), color(color)
inline ConsoleMessage(const EAnsiColor color, const AuString &prefix, const AuString &line) : prefix(prefix), line(line), color(color)
{
time = Time::CurrentClockMS();
tid = Threading::Threads::GetThreadId();
}
AuString StringifyTime(bool simple = false) const;
AuString GetWrappedTag() const;
AuString ToConsole() const;
AuString ToSimplified() const;
AUKN_SYM AuString StringifyTime(bool simple = false) const;
AUKN_SYM AuString GetWrappedTag() const;
AUKN_SYM AuString ToConsole() const;
AUKN_SYM AuString ToSimplified() const;
};
}