fix G3 opt android_arm build?
We suspect that having SkTDPQueue inherit from SkNoncopyable is what's causing this error: third_party/skia/HEAD/src/gpu/GrResourceCache.h:44:7: error: 'GrResourceCache' declared with greater visibility than the type of its field 'GrResourceCache::fPurgeableQueue' [-Werror=attributes] class GrResourceCache { ^ Change-Id: Idc737aa64f5cb159edbe59e8baf70d711f7e07d9 Reviewed-on: https://skia-review.googlesource.com/15243 Commit-Queue: Mike Klein <mtklein@chromium.org> Reviewed-by: Ben Wagner <benjaminwagner@google.com>
This commit is contained in:
parent
69b1045ce2
commit
bc4c96bc65
@ -24,10 +24,16 @@
|
||||
template <typename T,
|
||||
bool (*LESS)(const T&, const T&),
|
||||
int* (*INDEX)(const T&) = (int* (*)(const T&))nullptr>
|
||||
class SkTDPQueue : public SkNoncopyable {
|
||||
class SkTDPQueue {
|
||||
public:
|
||||
SkTDPQueue() {}
|
||||
|
||||
SkTDPQueue(SkTDPQueue&&) = default;
|
||||
SkTDPQueue& operator =(SkTDPQueue&&) = default;
|
||||
|
||||
SkTDPQueue(const SkTDPQueue&) = delete;
|
||||
SkTDPQueue& operator=(const SkTDPQueue&) = delete;
|
||||
|
||||
/** Number of items in the queue. */
|
||||
int count() const { return fArray.count(); }
|
||||
|
||||
@ -188,8 +194,6 @@ private:
|
||||
}
|
||||
|
||||
SkTDArray<T> fArray;
|
||||
|
||||
typedef SkNoncopyable INHERITED;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user