summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2015-07-05 00:59:35 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2015-07-05 00:59:35 -0700
commit688d4976aea1b292b5bcc3ea92096744255dd842 (patch)
treec1d0f95572f42408979068ee39d882f5edb5d0a1
parent7cf0c7b3cdd2c1e190fcbd8d05ac5775d935b687 (diff)
I am trying to get the habit of always using auto.
-rw-r--r--cydo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cydo.cpp b/cydo.cpp
index 05327df..168d3c8 100644
--- a/cydo.cpp
+++ b/cydo.cpp
@@ -70,7 +70,7 @@ int main(int argc, char *argv[]) {
auto variables(launch_data_dict_lookup(value, LAUNCH_JOBKEY_ENVIRONMENTVARIABLES));
if (variables != NULL && launch_data_get_type(variables) == LAUNCH_DATA_DICTIONARY) {
- bool dyld(false);
+ auto dyld(false);
launch_data_dict_iterate(variables, [&dyld](const char *name, launch_data_t value) {
if (strncmp(name, "DYLD_", 5) == 0)