diff options
Diffstat (limited to 'db/namespace.h')
-rw-r--r-- | db/namespace.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/db/namespace.h b/db/namespace.h index db4bb38209c..be730d44746 100644 --- a/db/namespace.h +++ b/db/namespace.h @@ -266,13 +266,13 @@ namespace mongo { dassert( i < NIndexesMax ); unsigned long long x = ((unsigned long long) 1) << i; if( multiKeyIndexBits & x ) return; - *dur::writing(&multiKeyIndexBits) |= x; + *getDur().writing(&multiKeyIndexBits) |= x; } void clearIndexIsMultikey(int i) { dassert( i < NIndexesMax ); unsigned long long x = ((unsigned long long) 1) << i; if( (multiKeyIndexBits & x) == 0 ) return; - *dur::writing(&multiKeyIndexBits) &= ~x; + *getDur().writing(&multiKeyIndexBits) &= ~x; } /* add a new index. does not add to system.indexes etc. - just to NamespaceDetails. @@ -288,12 +288,12 @@ namespace mongo { void paddingFits() { double x = paddingFactor - 0.01; if ( x >= 1.0 ) - *dur::writingNoLog(&paddingFactor) = x; + *getDur().writingNoLog(&paddingFactor) = x; } void paddingTooSmall() { double x = paddingFactor + 0.6; if ( x <= 2.0 ) - *dur::writingNoLog(&paddingFactor) = x; + *getDur().writingNoLog(&paddingFactor) = x; } // @return offset in indexes[] |