1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

build: fix build with ICC

This commit is contained in:
Alexander Alekhin
2019-08-22 16:26:58 +03:00
parent 6bf6d1dc6b
commit 29dbeb253c
2 changed files with 5 additions and 3 deletions
+2
View File
@@ -21691,7 +21691,9 @@ class WithParamInterface {
return *GetParameterPtrRef_();
}
#ifndef __INTEL_COMPILER // compilation workaround, templated friend is not handled properly by ICC (perhaps due using of anonymous namespaces)
private:
#endif
// Sets parameter value. The caller is responsible for making sure the value
// remains alive and unchanged throughout the current test.
static void SetParam(const ParamType* parameter) {