diff --git a/lite/backends/opencl/cl_runtime.h b/lite/backends/opencl/cl_runtime.h index 2a8996b066a480d9c0a6db67fa5fd60142885046..503b3a011642a8e018781c08647a958c521e6fac 100644 --- a/lite/backends/opencl/cl_runtime.h +++ b/lite/backends/opencl/cl_runtime.h @@ -55,7 +55,7 @@ class CLRuntime { std::map& GetDeviceInfo(); private: - CLRuntime() = default; + CLRuntime() { Init(); } ~CLRuntime();