summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 &)