From 10e19a323793baf29249bdcf4c6bfa4e13e2f799 Mon Sep 17 00:00:00 2001 From: Hayodea Hekol Date: Sat, 25 Oct 2025 23:04:12 -0400 Subject: [PATCH] StimulusBuffer: Fix linker errors --- include/user/stimulusBuffer.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/include/user/stimulusBuffer.h b/include/user/stimulusBuffer.h index 8cef884..0330e75 100644 --- a/include/user/stimulusBuffer.h +++ b/include/user/stimulusBuffer.h @@ -40,8 +40,11 @@ public: public: explicit StimulusBuffer( - const device::DeviceAttachmentSpec& deviceAttachmentSpec); - ~StimulusBuffer(); + const device::DeviceAttachmentSpec& deviceAttachmentSpec) + : deviceAttachmentSpec(deviceAttachmentSpec) + {} + + ~StimulusBuffer() = default; // Non-copyable, movable StimulusBuffer(const StimulusBuffer&) = delete; @@ -49,7 +52,7 @@ public: StimulusBuffer(StimulusBuffer&&) = default; StimulusBuffer& operator=(StimulusBuffer&&) = default; -private: +public: device::DeviceAttachmentSpec deviceAttachmentSpec; std::vector frames_; };