aboutsummaryrefslogtreecommitdiff
path: root/src/streams.h
diff options
context:
space:
mode:
authorPavel Janík <Pavel@Janik.cz>2017-03-03 16:20:33 +0100
committerPavel Janík <Pavel@Janik.cz>2017-03-18 07:59:50 +0100
commitbb2aaeeeeae207c3eaeb12bcae4fb700b601ab51 (patch)
tree934aac40037cffad17956cf79d8cca5b0081b17a /src/streams.h
parent3d857f307be8712b9b251e770d8425717409654b (diff)
Prevent -Wshadow warnings with gcc versions 4.8.5, 5.3.1 and 6.2.1.
Diffstat (limited to 'src/streams.h')
-rw-r--r--src/streams.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/streams.h b/src/streams.h
index 3c24c2c373..1387b9cf54 100644
--- a/src/streams.h
+++ b/src/streams.h
@@ -404,8 +404,8 @@ public:
return (*this);
}
- void GetAndClear(CSerializeData &data) {
- data.insert(data.end(), begin(), end());
+ void GetAndClear(CSerializeData &d) {
+ d.insert(d.end(), begin(), end());
clear();
}