summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-11-02 21:02:59 (GMT)
committerBrad King <brad.king@kitware.com>2015-11-04 14:15:13 (GMT)
commitadfc8a677e51772d87a3e050477c60ce0b70288f (patch)
tree4cdbc3bf9449a8fa34be7402c95361e7aaf09520 /Source/cmGeneratorTarget.cxx
parent74ea66850c99578d7d1665e64579279a6ff89896 (diff)
downloadCMake-adfc8a677e51772d87a3e050477c60ce0b70288f.zip
CMake-adfc8a677e51772d87a3e050477c60ce0b70288f.tar.gz
CMake-adfc8a677e51772d87a3e050477c60ce0b70288f.tar.bz2
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.
Diffstat (limited to 'Source/cmGeneratorTarget.cxx')
-rw-r--r--Source/cmGeneratorTarget.cxx2
1 files changed, 1 insertions, 1 deletions
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<cmSourceFile*> sourceFiles; \
this->GetSourceFiles(sourceFiles, config); \
- TagVisitor<DATA ## Tag DATATYPE> visitor(this, data); \
+ TagVisitor< DATA##Tag DATATYPE > visitor(this, data); \
for(std::vector<cmSourceFile*>::const_iterator si = sourceFiles.begin(); \
si != sourceFiles.end(); ++si) \
{ \