summaryrefslogtreecommitdiff
path: root/src/value.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-02-17 14:31:03 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-02-17 15:06:31 -0600
commit8f3178191cbb652782d99e5b2c25fa7157ebf1c6 (patch)
tree5f45bace3ba95f4a177af2373d510c2f05bb11a0 /src/value.h
parent24a993cf004747a59b1099d735dc0bf8cb95c096 (diff)
downloadfork-ledger-8f3178191cbb652782d99e5b2c25fa7157ebf1c6.tar.gz
fork-ledger-8f3178191cbb652782d99e5b2c25fa7157ebf1c6.tar.bz2
fork-ledger-8f3178191cbb652782d99e5b2c25fa7157ebf1c6.zip
Fixes for variable shadowing (28/28)
Diffstat (limited to 'src/value.h')
-rw-r--r--src/value.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/value.h b/src/value.h
index d4387f61..9dd18623 100644
--- a/src/value.h
+++ b/src/value.h
@@ -203,11 +203,11 @@ public:
checked_delete(this);
}
- friend inline void intrusive_ptr_add_ref(value_t::storage_t * storage) {
- storage->acquire();
+ friend inline void intrusive_ptr_add_ref(value_t::storage_t * storage_ptr) {
+ storage_ptr->acquire();
}
- friend inline void intrusive_ptr_release(value_t::storage_t * storage) {
- storage->release();
+ friend inline void intrusive_ptr_release(value_t::storage_t * storage_ptr) {
+ storage_ptr->release();
}
void destroy() {