summaryrefslogtreecommitdiff
path: root/db/dur.h
diff options
context:
space:
mode:
authordwight <dwight@10gen.com>2010-12-29 22:27:22 -0500
committerdwight <dwight@10gen.com>2010-12-29 22:27:22 -0500
commitb818949c3a04b24f4a59c2e5a25f02036f47a3d4 (patch)
treefb65439ae97d23dd5eed801b1e8358f74e768dc9 /db/dur.h
parent19709a7401a5a5181aada3477617235be8f8956b (diff)
downloadmongo-b818949c3a04b24f4a59c2e5a25f02036f47a3d4.tar.gz
warning struct/class inconsistency on windows TempDisableDurability
Diffstat (limited to 'db/dur.h')
-rw-r--r--db/dur.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/db/dur.h b/db/dur.h
index 75f78f5fab1..4f38c72b4f7 100644
--- a/db/dur.h
+++ b/db/dur.h
@@ -18,7 +18,8 @@ namespace mongo {
void startup();
- struct TempDisableDurability : boost::noncopyable {
+ class TempDisableDurability : boost::noncopyable {
+ public:
TempDisableDurability(); // disables durability iff it is enabled
~TempDisableDurability(); // enables durability iff constructor disabled it
private: