Index: base/registry.h |
diff --git a/base/registry.h b/base/registry.h |
index a9a6997251176643620730a23bdbaca1dd9f221d..4702a786c9d2c8ecad067043e3e07f05b8a8b5ad 100644 |
--- a/base/registry.h |
+++ b/base/registry.h |
@@ -22,12 +22,12 @@ class RegKey { |
public: |
RegKey(HKEY rootkey = NULL, const wchar_t* subkey = NULL, |
REGSAM access = KEY_READ); |
- ~RegKey() { Close(); } |
+ ~RegKey(); |
bool Create(HKEY rootkey, const wchar_t* subkey, REGSAM access = KEY_READ); |
bool CreateWithDisposition(HKEY rootkey, const wchar_t* subkey, |
- DWORD* disposition, REGSAM access = KEY_READ); |
+ DWORD* disposition, REGSAM access); |
bool Open(HKEY rootkey, const wchar_t* subkey, REGSAM access = KEY_READ); |