summaryrefslogtreecommitdiff
path: root/platform/default
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2017-07-11 15:16:06 +0300
committerBruno de Oliveira Abinader <bruno@mapbox.com>2017-07-12 20:42:29 +0300
commit3afbfa2de74d26f1d9099a85cc1b6ed70251666f (patch)
treebb71b54e4badf6d71932e31fa89e4c7348c7a0cd /platform/default
parentf1ac757bd28351fd57113a1e16f6c2e00ab193c1 (diff)
downloadqtlocation-mapboxgl-3afbfa2de74d26f1d9099a85cc1b6ed70251666f.tar.gz
[core] GCC 4.9 shadow member warnings
Diffstat (limited to 'platform/default')
-rw-r--r--platform/default/sqlite3.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/default/sqlite3.cpp b/platform/default/sqlite3.cpp
index 0707f9255c..269c97716f 100644
--- a/platform/default/sqlite3.cpp
+++ b/platform/default/sqlite3.cpp
@@ -381,8 +381,8 @@ int64_t Statement::lastInsertRowId() const {
uint64_t Statement::changes() const {
assert(impl);
- auto changes = impl->changes;
- return (changes < 0 ? 0 : changes);
+ auto changes_ = impl->changes;
+ return (changes_ < 0 ? 0 : changes_);
}
Transaction::Transaction(Database& db_, Mode mode)