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:
parent
93ac1411b9
commit
3c33cbe8e7
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user