diff options
Diffstat (limited to 'src/mongo/db/views/view_catalog.h')
-rw-r--r-- | src/mongo/db/views/view_catalog.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/views/view_catalog.h b/src/mongo/db/views/view_catalog.h index 5a01bda0943..ebede346dd4 100644 --- a/src/mongo/db/views/view_catalog.h +++ b/src/mongo/db/views/view_catalog.h @@ -178,7 +178,7 @@ private: stdx::mutex _mutex; // Protects all members, except for _valid. ViewMap _viewMap; DurableViewCatalog* _durable; - AtomicBool _valid; + AtomicWord<bool> _valid; ViewGraph _viewGraph; bool _viewGraphNeedsRefresh = true; // Defers initializing the graph until the first insert. }; |