From c2d663f495a6a7d339deb5154c9523254467ba48 Mon Sep 17 00:00:00 2001 From: Johann Dreo Date: Mon, 1 Oct 2012 15:28:27 +0200 Subject: [PATCH] make the converting constructor of the eoLogger helper classes explicits (avoid warnings about ambiguousus conversions on ostream streams operators) --- eo/src/utils/eoLogger.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eo/src/utils/eoLogger.h b/eo/src/utils/eoLogger.h index e5faf8f34..9ac1c2115 100644 --- a/eo/src/utils/eoLogger.h +++ b/eo/src/utils/eoLogger.h @@ -116,7 +116,7 @@ namespace eo */ struct file { - file(const std::string f); + explicit file(const std::string f); const std::string _f; }; @@ -126,8 +126,8 @@ namespace eo */ struct setlevel { - setlevel(const std::string v); - setlevel(const Levels lvl); + explicit setlevel(const std::string v); + explicit setlevel(const Levels lvl); const std::string _v; const Levels _lvl; };