libstdc++: Remove unnecessary 'static' from __is_specialization_of
This makes the declarations internal linkage, which is an ODR issue, and causes a future modules patch to fail regtest as it now detects attempted uses of TU-local entities in module CMIs. libstdc++-v3/ChangeLog: * include/std/format: Remove unnecessary 'static'. Signed-off-by: Nathaniel Shead <nathanieloshead@gmail.com>
This commit is contained in:
parent
f9dfe8dea3
commit
618871ff09
1 changed files with 2 additions and 3 deletions
|
@ -365,10 +365,9 @@ namespace __format
|
|||
|
||||
/// @cond undocumented
|
||||
template<typename _Tp, template<typename...> class _Class>
|
||||
static constexpr bool __is_specialization_of = false;
|
||||
constexpr bool __is_specialization_of = false;
|
||||
template<template<typename...> class _Class, typename... _Args>
|
||||
static constexpr bool __is_specialization_of<_Class<_Args...>, _Class>
|
||||
= true;
|
||||
constexpr bool __is_specialization_of<_Class<_Args...>, _Class> = true;
|
||||
|
||||
namespace __format
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue