diff --git a/cpp/src/arrow/device.h b/cpp/src/arrow/device.h index 34e7404e8a4c1..a217542721a6f 100644 --- a/cpp/src/arrow/device.h +++ b/cpp/src/arrow/device.h @@ -140,7 +140,7 @@ class ARROW_EXPORT Device : public std::enable_shared_from_this, /// and memory allocations. virtual Result> MakeStream(unsigned int flags) { return NULLPTR; - }; + } /// @brief Wrap an existing device stream alongside a release function /// @@ -258,7 +258,7 @@ class ARROW_EXPORT MemoryManager : public std::enable_shared_from_this> WrapDeviceSyncEvent(