X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=ref_counted_frame.h;h=881d0d5015c8f5f0738982ba9096eb797edc6b99;hb=08a992d58c34da8d8bbd70226f7e85c9f30d9514;hp=67787ef3cbb7289b2929cfe33f83fa7ac7f71765;hpb=661928aa9791b6ecf452c221eacba400751fb1e1;p=nageru diff --git a/ref_counted_frame.h b/ref_counted_frame.h index 67787ef..881d0d5 100644 --- a/ref_counted_frame.h +++ b/ref_counted_frame.h @@ -11,16 +11,16 @@ #include "bmusb/bmusb.h" -void release_refcounted_frame(FrameAllocator::Frame *frame); +void release_refcounted_frame(bmusb::FrameAllocator::Frame *frame); -typedef std::shared_ptr RefCountedFrameBase; +typedef std::shared_ptr RefCountedFrameBase; class RefCountedFrame : public RefCountedFrameBase { public: RefCountedFrame() {} - RefCountedFrame(const FrameAllocator::Frame &frame) - : RefCountedFrameBase(new FrameAllocator::Frame(frame), release_refcounted_frame) {} + RefCountedFrame(const bmusb::FrameAllocator::Frame &frame) + : RefCountedFrameBase(new bmusb::FrameAllocator::Frame(frame), release_refcounted_frame) {} }; #endif // !defined(_REF_COUNTED_FRAME_H)