aboutsummaryrefslogtreecommitdiffhomepage
path: root/env.h
diff options
context:
space:
mode:
authorGravatar Siteshwar Vashisht <siteshwar@gmail.com>2012-02-24 00:55:46 +0530
committerGravatar Siteshwar Vashisht <siteshwar@gmail.com>2012-02-24 00:58:01 +0530
commit8232857d0785b5b2db8884d11680de5c2fe9b857 (patch)
tree9acbad3ff194926b80887f66b0c727b50eb4a71a /env.h
parent2ae56564ef2f9752bd59616a551f49b1d1db03fb (diff)
Modified env_get_string() to accept wcstring instead of wchar_t*.
Diffstat (limited to 'env.h')
-rw-r--r--env.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/env.h b/env.h
index a5ac97b4..acef82a6 100644
--- a/env.h
+++ b/env.h
@@ -116,7 +116,7 @@ public:
/**
Gets the variable with the specified name, or an empty string if it does not exist.
*/
-env_var_t env_get_string( const wchar_t *key );
+env_var_t env_get_string( const wcstring &key );
/**
Returns 1 if the specified key exists. This can't be reliably done