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:
MediaPipe Team 2023-08-16 09:20:19 -07:00 committed by Copybara-Service
parent 251ffc21c8
commit ee217ceb67

View File

@ -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
// it is only meant to be used for these two types.
// Note that, since these variables are members of specific template