From adfc8a677e51772d87a3e050477c60ce0b70288f Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 2 Nov 2015 16:02:59 -0500 Subject: cmGeneratorTarget: Fix IMPLEMENT_VISIT_IMPL for template data types Update spacing near the DATATYPE reference to prevent construction of `>>` as a preprocessing token if DATATYPE is a template type. --- Source/cmGeneratorTarget.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx index 1f74eda..0f5a7e7 100644 --- a/Source/cmGeneratorTarget.cxx +++ b/Source/cmGeneratorTarget.cxx @@ -573,7 +573,7 @@ static void handleSystemIncludesDep(cmLocalGenerator *lg, { \ std::vector sourceFiles; \ this->GetSourceFiles(sourceFiles, config); \ - TagVisitor visitor(this, data); \ + TagVisitor< DATA##Tag DATATYPE > visitor(this, data); \ for(std::vector::const_iterator si = sourceFiles.begin(); \ si != sourceFiles.end(); ++si) \ { \ -- cgit v0.12