summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2020-10-20 06:15:22 +0200
committerSven Gothel <[email protected]>2020-10-20 06:15:22 +0200
commit46d56d1eac71f4ee9f94d0d340f1b0d49c30844f (patch)
tree66b65bf12d8b7ebd7dc918fe713dc92841d0af87
parent0578dabf473e3ed80fc69f01879a02071d0ad4cc (diff)
tinyb/BluetoothManager.cpp: One more -Wshadow detected on g++ 8.3
-rw-r--r--src/tinyb/BluetoothManager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tinyb/BluetoothManager.cpp b/src/tinyb/BluetoothManager.cpp
index 127ebf4c..d4637308 100644
--- a/src/tinyb/BluetoothManager.cpp
+++ b/src/tinyb/BluetoothManager.cpp
@@ -319,8 +319,8 @@ BluetoothManager::BluetoothManager() : event_list()
BluetoothManager *BluetoothManager::get_bluetooth_manager()
{
- static BluetoothManager bluetooth_manager;
- return &bluetooth_manager;
+ static BluetoothManager bluetooth_manager_;
+ return &bluetooth_manager_;
}
BluetoothManager::BluetoothManager(const BluetoothManager &)