aboutsummaryrefslogtreecommitdiff
path: root/samples/config_helper_dawn.cc
diff options
context:
space:
mode:
Diffstat (limited to 'samples/config_helper_dawn.cc')
-rw-r--r--samples/config_helper_dawn.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/config_helper_dawn.cc b/samples/config_helper_dawn.cc
index c633f97..a8043cd 100644
--- a/samples/config_helper_dawn.cc
+++ b/samples/config_helper_dawn.cc
@@ -24,7 +24,7 @@ ConfigHelperDawn::~ConfigHelperDawn() = default;
namespace {
// Callback which prints a message from a Dawn device operation.
-void PrintDeviceError(const char* message, ::dawn::CallbackUserdata) {
+void PrintDeviceError(const char* message, void*) {
std::cout << "Device error: " << message << std::endl;
}