Simplify platform destructor.

- remove not needed code.

Change-Id: I7fad36e651e33156a136467f8b2e32d88f13ac13
This commit is contained in:
Mrozek, Michal
2018-06-29 09:34:54 +02:00
committed by sys_ocldev
parent 5408913d38
commit b52b1d0aea
2 changed files with 4 additions and 17 deletions

View File

@@ -79,7 +79,7 @@ class Platform : public BaseObject<_cl_platform_id> {
cl_uint state = StateNone;
void fillGlobalDispatchTable();
PlatformInfo *platformInfo = nullptr;
std::unique_ptr<PlatformInfo> platformInfo;
DeviceVector devices;
std::string compilerExtensions;
std::unique_ptr<AsyncEventsHandler> asyncEventsHandler;