summaryrefslogtreecommitdiffstats
path: root/base/registry.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/registry.h')
-rw-r--r--base/registry.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/registry.h b/base/registry.h
index 0b6c00c..6199362 100644
--- a/base/registry.h
+++ b/base/registry.h
@@ -29,7 +29,7 @@ class RegKey {
bool CreateWithDisposition(HKEY rootkey, const wchar_t* subkey,
DWORD* disposition, REGSAM access);
- bool Open(HKEY rootkey, const wchar_t* subkey, REGSAM access);
+ bool Open(HKEY rootkey, const wchar_t* subkey, REGSAM access = KEY_READ);
// Creates a subkey or open it if it already exists.
bool CreateKey(const wchar_t* name, REGSAM access);