diff options
author | Constantin Michael <constantin@codesynthesis.com> | 2011-10-31 11:20:07 +0200 |
---|---|---|
committer | Constantin Michael <constantin@codesynthesis.com> | 2011-11-01 13:14:55 +0200 |
commit | 139d9cad5830521e7dc0a60d8e6334d27533036c (patch) | |
tree | 0310e246d2662fa7372d5060f58fd9fd40d15496 /odb | |
parent | cf434b7c32f5b7f6eaa28b0a0743f50ce63caba0 (diff) |
Rename local variable to improve readability
Diffstat (limited to 'odb')
-rw-r--r-- | odb/relational/oracle/header.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/odb/relational/oracle/header.cxx b/odb/relational/oracle/header.cxx index 587d470..b6dba45 100644 --- a/odb/relational/oracle/header.cxx +++ b/odb/relational/oracle/header.cxx @@ -25,9 +25,9 @@ namespace relational { if (!(composite (c) || abstract (c))) { - bool f (options.generate_query ()); + bool gc (options.generate_query ()); - if (f) + if (gc) os << "oracle::change_callback change_callback_;" << endl; @@ -35,7 +35,7 @@ namespace relational << "change_callback ()" << "{"; - if (f) + if (gc) os << "return &change_callback_;"; else os << "return 0;"; |