fix(Log): treat pt::Log::Manipulators as enum and not as int
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user