diff --git a/src/include/Duck.h b/src/include/Duck.h index 4942d93d..b1f6b7f8 100644 --- a/src/include/Duck.h +++ b/src/include/Duck.h @@ -359,7 +359,7 @@ class Duck { if (err != DUCK_ERR_NONE) { return err; } - err = setDeviceId(deviceId.data()); + err = setDeviceId(deviceId); if (err != DUCK_ERR_NONE) { return err; }