diff options
author | Billy Donahue <billy.donahue@mongodb.com> | 2019-01-04 12:19:37 -0500 |
---|---|---|
committer | Billy Donahue <billy.donahue@mongodb.com> | 2019-01-07 12:08:23 -0500 |
commit | 11bb071e91461b1f8e40b9b15ddf3b9e1a2d23d1 (patch) | |
tree | 7037865f9bf4445fb3295ca7ce72f4182f012554 /src/mongo/base/status.h | |
parent | 6a0a21214dd96663c899cb8f2562d6121351ed3c (diff) | |
download | mongo-11bb071e91461b1f8e40b9b15ddf3b9e1a2d23d1.tar.gz |
SERVER-36644 remove AtomicWord typedefs
Diffstat (limited to 'src/mongo/base/status.h')
-rw-r--r-- | src/mongo/base/status.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/base/status.h b/src/mongo/base/status.h index 04792f49396..be00e68997e 100644 --- a/src/mongo/base/status.h +++ b/src/mongo/base/status.h @@ -227,7 +227,7 @@ public: // Below interface used for testing code only. // - inline AtomicUInt32::WordType refCount() const; + inline unsigned refCount() const; private: // Private since it could result in a type mismatch between code and extraInfo. @@ -237,7 +237,7 @@ private: inline Status(); struct ErrorInfo { - AtomicUInt32 refs; // reference counter + AtomicWord<unsigned> refs; // reference counter const ErrorCodes::Error code; // error code const std::string reason; // description of error cause const std::shared_ptr<const ErrorExtraInfo> extra; |