diff options
Diffstat (limited to 'db/namespace.h')
-rw-r--r-- | db/namespace.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/db/namespace.h b/db/namespace.h index 407d185bfcc..8f888212158 100644 --- a/db/namespace.h +++ b/db/namespace.h @@ -139,8 +139,8 @@ namespace mongo { return old + "." + local; } - string toString() const { - return buf; + operator string() const { + return (string)buf; } char buf[MaxNsLen]; |