]> git.sesse.net Git - nageru/blobdiff - pbo_frame_allocator.cpp
Remove more std:: instances.
[nageru] / pbo_frame_allocator.cpp
index f64ea5ff519f0d6ce4ea3a0b0eab040a14c309aa..370fa3d1ea7e145ce1f0e5dee54a2e7610a0f040 100644 (file)
@@ -106,7 +106,7 @@ FrameAllocator::Frame PBOFrameAllocator::alloc_frame()
 {
         Frame vf;
 
-       std::unique_lock<std::mutex> lock(freelist_mutex);  // Meh.
+       unique_lock<mutex> lock(freelist_mutex);  // Meh.
        if (freelist.empty()) {
                printf("Frame overrun (no more spare PBO frames), dropping frame!\n");
        } else {
@@ -125,7 +125,7 @@ void PBOFrameAllocator::release_frame(Frame frame)
                printf("%d bytes overflow after last (PBO) frame\n", int(frame.overflow));
        }
 
-       std::unique_lock<std::mutex> lock(freelist_mutex);
+       unique_lock<mutex> lock(freelist_mutex);
        freelist.push(frame);
        //--sumsum;
 }