I'm getting this error while compiling a CM12 based ROM.
There is a "^" under the "()" symbol.
The code is as follows (note: It is a shortened code as the whole code is huge).
Code:
frameworks/native/libs/ui/GraphicBufferMapper.cpp:52:43: error: definition of implicitly-declared 'android::GraphicBufferMapper::~GraphicBufferMapper()'
GraphicBufferMapper::~GraphicBufferMapper();The code is as follows (note: It is a shortened code as the whole code is huge).
Code:
ANDROID_SINGLETON_STATIC_INSTANCE( GraphicBufferMapper )
GraphicBufferMapper::GraphicBufferMapper()
: mAllocMod(0)
{
hw_module_t const* module;
int err = hw_get_module(GRALLOC_HARDWARE_MODULE_ID, &module);
ALOGE_IF(err, "FATAL: can't find the %s module", GRALLOC_HARDWARE_MODULE_ID);
if (err == 0) {
mAllocMod = (gralloc_module_t const *)module;
}
}
#ifdef MTK_MT6589
GraphicBufferMapper::~GraphicBufferMapper() //ERROR IN THIS LINE
{
gralloc_extra_close(mExtraDev);
}
#endif
Aucun commentaire:
Enregistrer un commentaire