Browse Source

Mark log write functions as inline

master
Riyyi 4 years ago
parent
commit
35f5e9d0c4
  1. 4
      inferno/src/inferno/log.h

4
inferno/src/inferno/log.h

@ -44,14 +44,14 @@ namespace Inferno {
void color() const;
virtual void write(const char* characters, int length) const override
inline virtual void write(const char* characters, int length) const override
{
for (int i = 0; i < length; i++) {
printf("%c", characters[i]);
}
}
virtual void write(const unsigned char* characters, int length) const override
inline virtual void write(const unsigned char* characters, int length) const override
{
for (int i = 0; i < length; i++) {
printf("%c", characters[i]);

Loading…
Cancel
Save