diff options
author | dwight <dwight@10gen.com> | 2011-10-03 10:17:23 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2011-10-08 23:19:37 -0400 |
commit | 05916b4e7125e1ddeeaaa3cb627fd74e670a6674 (patch) | |
tree | d21ec145604cc53b1bb6429866aa09ac3859705f | |
parent | 6728c042dd09ecb4ec3dada8e15ffb892435f1fc (diff) | |
download | mongo-05916b4e7125e1ddeeaaa3cb627fd74e670a6674.tar.gz |
SERVER-3955 bug in diagstr::operator=. backport.
-rw-r--r-- | util/concurrency/value.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/concurrency/value.h b/util/concurrency/value.h index 756e4b7d45b..11ec6050127 100644 --- a/util/concurrency/value.h +++ b/util/concurrency/value.h @@ -72,7 +72,7 @@ namespace mongo { void operator=(const string& s) { set(s); } void operator=(const DiagStr& rhs) { SimpleMutex::scoped_lock lk(m); - _s = rhs._s; + _s = rhs.get(); } }; |