diff options
Diffstat (limited to 'absl/flags/declare.h')
-rw-r--r-- | absl/flags/declare.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/absl/flags/declare.h b/absl/flags/declare.h index 556ec5e9aef9..0a113a2b27a3 100644 --- a/absl/flags/declare.h +++ b/absl/flags/declare.h @@ -39,8 +39,13 @@ class Flag; // Flag // // Forward declaration of the `absl::Flag` type for use in defining the macro. +#if defined(_MSC_VER) +template <typename T> +class Flag; +#else template <typename T> using Flag = flags_internal::Flag<T>; +#endif } // namespace absl |