diff options
author | dwight <dwight@10gen.com> | 2010-12-29 22:27:22 -0500 |
---|---|---|
committer | dwight <dwight@10gen.com> | 2010-12-29 22:27:22 -0500 |
commit | b818949c3a04b24f4a59c2e5a25f02036f47a3d4 (patch) | |
tree | fb65439ae97d23dd5eed801b1e8358f74e768dc9 /db/dur.h | |
parent | 19709a7401a5a5181aada3477617235be8f8956b (diff) | |
download | mongo-b818949c3a04b24f4a59c2e5a25f02036f47a3d4.tar.gz |
warning struct/class inconsistency on windows TempDisableDurability
Diffstat (limited to 'db/dur.h')
-rw-r--r-- | db/dur.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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: |