make the converting constructor of the eoLogger helper classes explicits (avoid warnings about ambiguousus conversions on ostream streams operators)
This commit is contained in:
parent
5a8ec3c3bb
commit
c2d663f495
1 changed files with 3 additions and 3 deletions
|
|
@ -116,7 +116,7 @@ namespace eo
|
||||||
*/
|
*/
|
||||||
struct file
|
struct file
|
||||||
{
|
{
|
||||||
file(const std::string f);
|
explicit file(const std::string f);
|
||||||
const std::string _f;
|
const std::string _f;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -126,8 +126,8 @@ namespace eo
|
||||||
*/
|
*/
|
||||||
struct setlevel
|
struct setlevel
|
||||||
{
|
{
|
||||||
setlevel(const std::string v);
|
explicit setlevel(const std::string v);
|
||||||
setlevel(const Levels lvl);
|
explicit setlevel(const Levels lvl);
|
||||||
const std::string _v;
|
const std::string _v;
|
||||||
const Levels _lvl;
|
const Levels _lvl;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue