diff options
author | Brad King <brad.king@kitware.com> | 2015-11-02 21:02:59 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-11-04 14:15:13 (GMT) |
commit | adfc8a677e51772d87a3e050477c60ce0b70288f (patch) | |
tree | 4cdbc3bf9449a8fa34be7402c95361e7aaf09520 /Source/cmGeneratorTarget.cxx | |
parent | 74ea66850c99578d7d1665e64579279a6ff89896 (diff) | |
download | CMake-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.cxx | 2 |
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) \ { \ |