Fix MediaPipe build in Chromium.
When building Chromium with Clang on Windows, it needs the template specializations to be declared as well. PiperOrigin-RevId: 557508703
This commit is contained in:
parent
251ffc21c8
commit
ee217ceb67
|
@ -66,7 +66,7 @@ class LegacyCalculatorSupport {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
#if !defined(_MSC_VER)
|
#if !defined(_MSC_VER) || defined(__clang__)
|
||||||
// We only declare this variable for two specializations of the template because
|
// We only declare this variable for two specializations of the template because
|
||||||
// it is only meant to be used for these two types.
|
// it is only meant to be used for these two types.
|
||||||
// Note that, since these variables are members of specific template
|
// Note that, since these variables are members of specific template
|
||||||
|
|
Loading…
Reference in New Issue
Block a user