From 83c74e581185d3ce06f61cecbc62fe83849e4bc1 Mon Sep 17 00:00:00 2001 From: Alex Harker Date: Sun, 17 Mar 2019 14:33:52 +0000 Subject: [PATCH] Updates to SCBufferAdaptor --- include/SCBufferAdaptor.hpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/include/SCBufferAdaptor.hpp b/include/SCBufferAdaptor.hpp index 1a8f034..6c6036c 100644 --- a/include/SCBufferAdaptor.hpp +++ b/include/SCBufferAdaptor.hpp @@ -93,7 +93,7 @@ public: } // No locks in (vanilla) SC, so no-ops for these - void acquire() override {} + bool acquire() override { return true; } void release() override {} // Validity is based on whether this buffer is within the range the server @@ -153,12 +153,6 @@ public: void realTime(bool rt) { mRealTime = rt; } protected: - bool equal(BufferAdaptor *rhs) const override - { - SCBufferAdaptor *x = dynamic_cast(rhs); - if (x) { return mBufnum == x->mBufnum; } - return false; - } bool mRealTime{false}; float *mOldData{0};