fix(Log): treat pt::Log::Manipulators as enum and not as int
This commit is contained in:
parent
64e5114947
commit
7a115a3970
|
@ -5,7 +5,7 @@
|
|||
*/
|
||||
|
||||
/*
|
||||
* Copyright (c) 2008-2019, Tomasz Sowa
|
||||
* Copyright (c) 2008-2022, Tomasz Sowa
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
@ -252,7 +252,14 @@ Log & Log::operator<<(LogManipulators m)
|
|||
break;
|
||||
}
|
||||
|
||||
return *this;
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
||||
Log & Log::operator<<(pt::Log::Manipulators m)
|
||||
{
|
||||
pt::Log::operator<<(m);
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*/
|
||||
|
||||
/*
|
||||
* Copyright (c) 2008-2019, Tomasz Sowa
|
||||
* Copyright (c) 2008-2022, Tomasz Sowa
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
@ -79,6 +79,7 @@ public:
|
|||
virtual Log & operator<<(double s);
|
||||
virtual Log & operator<<(const pt::Space & space);
|
||||
virtual Log & operator<<(LogManipulators m);
|
||||
virtual Log & operator<<(pt::Log::Manipulators m);
|
||||
virtual Log & operator<<(const pt::Date & date);
|
||||
virtual Log & operator<<(morm::Model & model);
|
||||
|
||||
|
|
Loading…
Reference in New Issue