From 3c33cbe8e7e0853a75e9f6e9f040a9e3f3ec1b4b Mon Sep 17 00:00:00 2001 From: Aaron Date: Fri, 20 Feb 2009 15:56:24 -0500 Subject: [PATCH] Maybe more efficient --- util/log.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/log.h b/util/log.h index a3f4c059dd9..9503085439c 100644 --- a/util/log.h +++ b/util/log.h @@ -39,7 +39,7 @@ namespace mongo { template< class T > struct Stringifier : public StringifierBase { Stringifier( const T& t ) : t_( t ) {} - virtual string val() const { return string( t_ ); } + virtual string val() const { return (string)t_; } const T& t_; }; static struct StringifierError : public StringifierBase {