log: expose less const, use more const
This commit is contained in:
parent
a73bf29e03
commit
61e1d6a303
8
log.hpp
8
log.hpp
@ -78,19 +78,19 @@ namespace util {
|
|||||||
///////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////
|
||||||
class scoped_logger : public nocopy {
|
class scoped_logger : public nocopy {
|
||||||
public:
|
public:
|
||||||
scoped_logger (const level_t, std::string);
|
scoped_logger (level_t, std::string);
|
||||||
~scoped_logger ();
|
~scoped_logger ();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
level_t m_level;
|
const level_t m_level;
|
||||||
std::string m_message;
|
const std::string m_message;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////
|
||||||
class scoped_timer : public nocopy {
|
class scoped_timer : public nocopy {
|
||||||
public:
|
public:
|
||||||
scoped_timer (const level_t, std::string);
|
scoped_timer (level_t, std::string);
|
||||||
~scoped_timer ();
|
~scoped_timer ();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
Loading…
Reference in New Issue
Block a user