Remove unused variable depth_ (flutter/engine#37109)

This commit is contained in:
Nayuta403
2022-11-02 10:32:08 +08:00
committed by GitHub
parent 8fb750c029
commit 472ca878cf

View File

@@ -102,7 +102,7 @@ class Pipeline {
};
explicit Pipeline(uint32_t depth)
: depth_(depth), empty_(depth), available_(0), inflight_(0) {}
: empty_(depth), available_(0), inflight_(0) {}
~Pipeline() = default;
@@ -180,7 +180,6 @@ class Pipeline {
}
private:
const uint32_t depth_;
fml::Semaphore empty_;
fml::Semaphore available_;
std::atomic<int> inflight_;