0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-30 00:56:44 +01:00

Maybe more efficient

This commit is contained in:
Aaron 2009-02-20 15:56:24 -05:00
parent 93ac1411b9
commit 3c33cbe8e7

View File

@ -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 {