reorder members to avoid padding class 'SimpleLogger' with 4 bytes to align 'os'

This commit is contained in:
Dennis Luxen 2015-01-02 17:32:52 +01:00
parent 7de428233e
commit e79787cc77

View File

@ -67,8 +67,8 @@ class SimpleLogger
std::ostringstream &Write(LogLevel l = logINFO); std::ostringstream &Write(LogLevel l = logINFO);
private: private:
LogLevel level;
std::ostringstream os; std::ostringstream os;
LogLevel level;
}; };
#endif /* SIMPLE_LOGGER_HPP */ #endif /* SIMPLE_LOGGER_HPP */