summaryrefslogtreecommitdiff
path: root/test/object-invoke.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/object-invoke.cpp')
-rw-r--r--test/object-invoke.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/object-invoke.cpp b/test/object-invoke.cpp
index fa162c83..def1e61e 100644
--- a/test/object-invoke.cpp
+++ b/test/object-invoke.cpp
@@ -2,17 +2,17 @@
/*
* Copyright (C) 2019, Google Inc.
*
- * object-invoke.cpp - Cross-thread Object method invocation test
+ * Cross-thread Object method invocation test
*/
#include <iostream>
#include <thread>
-#include <libcamera/event_dispatcher.h>
-#include <libcamera/object.h>
+#include <libcamera/base/event_dispatcher.h>
+#include <libcamera/base/object.h>
+#include <libcamera/base/thread.h>
#include "test.h"
-#include "thread.h"
using namespace std;
using namespace libcamera;
@@ -49,7 +49,7 @@ public:
value_ = value;
}
- void methodWithReference(const int &value)
+ void methodWithReference([[maybe_unused]] const int &value)
{
}