summaryrefslogtreecommitdiffhomepage
path: root/dinput/dinput.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dinput/dinput.cpp')
-rw-r--r--dinput/dinput.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/dinput/dinput.cpp b/dinput/dinput.cpp
index 1a61ce62..276559ef 100644
--- a/dinput/dinput.cpp
+++ b/dinput/dinput.cpp
@@ -41,8 +41,8 @@ void dinput_handle::di_t::free_di()
void dinput_handle::di_t::ref_di()
{
- const int refcnt_ = refcnt.fetch_add(1) + 1;
- qDebug() << "start: dinput refcount now" << refcnt_;
+ //const int refcnt_ = refcnt.fetch_add(1) + 1;
+ (void) refcnt.fetch_add(1);
}
dinput_handle::di_t& dinput_handle::di_t::operator=(const di_t& new_di)
@@ -62,8 +62,6 @@ void dinput_handle::di_t::unref_di()
{
const int refcnt_ = refcnt.fetch_sub(1) - 1;
- qDebug() << "exit: dinput refcount now" << refcnt_;
-
if (refcnt_ == 0)
{
while (init_lock.test_and_set()) { /* busy loop */ }