summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordwight <dwight@10gen.com>2011-10-03 10:17:23 -0400
committerEliot Horowitz <eliot@10gen.com>2011-10-08 23:19:37 -0400
commit05916b4e7125e1ddeeaaa3cb627fd74e670a6674 (patch)
treed21ec145604cc53b1bb6429866aa09ac3859705f
parent6728c042dd09ecb4ec3dada8e15ffb892435f1fc (diff)
downloadmongo-05916b4e7125e1ddeeaaa3cb627fd74e670a6674.tar.gz
SERVER-3955 bug in diagstr::operator=. backport.
-rw-r--r--util/concurrency/value.h2
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();
}
};