Skip to content

Commit

Permalink
Merge pull request cms-sw#6292 from davidlt/fix-clang-err-GeneratorIn…
Browse files Browse the repository at this point in the history
…terface-Core

GeneratorInterface/Core: drop VLA of non-POD type
  • Loading branch information
cmsbuild authored and hroskes committed Feb 12, 2015
1 parent 3490a87 commit 1c79195
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion GeneratorInterface/Core/plugins/GenXSecAnalyzer.cc
Expand Up @@ -388,7 +388,7 @@ GenXSecAnalyzer::endJob() {

const int sizeOfInfos= theProcesses_size+1;
const int last = sizeOfInfos-1;
std::string title[sizeOfInfos];
std::string * title = new std::string[sizeOfInfos];

for(int i=0; i < sizeOfInfos; i++){

Expand Down Expand Up @@ -436,6 +436,7 @@ GenXSecAnalyzer::endJob() {


}
delete [] title;

edm::LogPrint("GenXSecAnalyzer")
<< "--------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
Expand Down

0 comments on commit 1c79195

Please sign in to comment.