Kaydet (Commit) 06287185 authored tarafından Andrzej Hunt's avatar Andrzej Hunt

loplugin:unreffun -- Wrap opencl-only functions in appropriate ifdef.

This section is only needed if we have opencl enabled, hence we should
wrap it in HAVE_FEATURE_OPENCL.

Change-Id: I5ec479d7c1739fcb8baf0936104425b515b6a843
üst d6aa639f
...@@ -511,6 +511,7 @@ public: ...@@ -511,6 +511,7 @@ public:
#endif #endif
#if HAVE_FEATURE_OPENCL
#ifndef DISABLE_DYNLOADING #ifndef DISABLE_DYNLOADING
class FormulaGroupInterpreterOpenCLMissing : public FormulaGroupInterpreter class FormulaGroupInterpreterOpenCLMissing : public FormulaGroupInterpreter
...@@ -552,6 +553,7 @@ osl::Module* getOpenCLModule() ...@@ -552,6 +553,7 @@ osl::Module* getOpenCLModule()
return bLoaded ? &aModule : NULL; return bLoaded ? &aModule : NULL;
} }
#endif
#endif #endif
/// load and/or configure the correct formula group interpreter /// load and/or configure the correct formula group interpreter
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment