mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-07 04:02:23 +03:00
cmCMakePresetsGraph: class -> typename in template declarations
This commit is contained in:
1 parent
661e8119dd
commit
37853f25b7
2 files changed
+5
-5
No files matched your search
@@ -100,7 +100,7 @@ void InheritMap(std::map<std::string, T>& child,
|
||||
* that each preset has the required fields, either directly or through
|
||||
* inheritance.
|
||||
*/
|
||||
template <class T>
|
||||
template <typename T>
|
||||
bool VisitPreset(
|
||||
T& preset,
|
||||
std::map<std::string, cmCMakePresetsGraph::PresetPair<T>>& presets,
|
||||
@@ -178,7 +178,7 @@ bool VisitPreset(
|
||||
return true;
|
||||
}
|
||||
|
||||
template <class T>
|
||||
template <typename T>
|
||||
bool ComputePresetInheritance(
|
||||
std::map<std::string, cmCMakePresetsGraph::PresetPair<T>>& presets,
|
||||
cmCMakePresetsGraph& graph)
|
||||
@@ -222,7 +222,7 @@ bool IsValidMacroNamespace(std::string const& str)
|
||||
ExpandMacroResult VisitEnv(std::string& value, CycleStatus& status,
|
||||
MacroExpanderVector const& macroExpanders,
|
||||
int version);
|
||||
template <class T>
|
||||
template <typename T>
|
||||
class EnvironmentMacroExpander : public MacroExpander
|
||||
{
|
||||
std::map<std::string, CycleStatus>& EnvCycles;
|
||||
@@ -428,7 +428,7 @@ bool CheckExpandMacros(WorkflowPreset const& /*preset*/,
|
||||
return true;
|
||||
}
|
||||
|
||||
template <class T>
|
||||
template <typename T>
|
||||
bool ExpandMacros(cmCMakePresetsGraph* graph, T const& preset,
|
||||
cm::optional<T>& out)
|
||||
{
|
||||
|
||||
@@ -84,7 +84,7 @@ public:
|
||||
int version) const override;
|
||||
};
|
||||
|
||||
template <class T>
|
||||
template <typename T>
|
||||
class PresetMacroExpander : public MacroExpander
|
||||
{
|
||||
cmCMakePresetsGraph const& Graph;
|
||||
|
||||
Reference in new issue
Block a user