Commit 44c926d9 authored by Victor Zverovich's avatar Victor Zverovich Committed by GitHub

Merge pull request #348 from LogicalKnight/fix-clang-extern-header-only

Fix building with clang in header-only mode
parents 116914a9 75f862bf
......@@ -841,7 +841,7 @@ struct FMT_API BasicData {
# define FMT_USE_EXTERN_TEMPLATES (__clang__ && FMT_USE_VARIADIC_TEMPLATES)
#endif
#if FMT_USE_EXTERN_TEMPLATES
#if FMT_USE_EXTERN_TEMPLATES && !defined(FMT_HEADER_ONLY)
extern template struct BasicData<void>;
#endif
......
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