提交 bed4df0f 编写于 作者: W w_angrong 提交者: wangrong

codeCheck: fix code check warning

上级 dda011a1
......@@ -52,7 +52,7 @@ public:
mNumLocations(static_cast<unsigned>(numLocations)) {
mPointerData.resize(mNumLocations);
}
~GLDecoderContextData(){}
// Store |len| bytes from |data| into the buffer associated with
// vertex attribute index |loc|.
void storePointerData(unsigned int loc, void *data, size_t len) {
......
......@@ -54,7 +54,7 @@ class SystemInformation {
collect_kernel_info();
collect_graphics_info();
}
~SystemInformation() {}
std::string to_text() const {
std::stringstream s;
......
......@@ -153,6 +153,7 @@ class SmallVector {
this->destruct(this->begin(), this->end());
if (isAllocated()) {
free(this->mBegin);
this->mBegin = nullptr;
}
}
......
......@@ -40,6 +40,7 @@ class BufferQueue {
int try_pop_locked(Buffer *buffer);
int pop_locked(Buffer *buffer, std::unique_lock<std::mutex> &lock);
void close_locked();
~BufferQueue() {}
private:
size_t capacity_ = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册