|
[yoda-svn] yoda: Bugfix (shadowed variables) in ReaderYODAYODA Mercurial yoda at projects.hepforge.orgMon Sep 7 17:15:02 BST 2015
details: https://yoda.hepforge.org/hg/yoda/rev/e0091be22ec2 branches: changeset: 1127:e0091be22ec2 user: Andy Buckley <andy at insectnation.org> date: Mon Sep 07 17:11:29 2015 +0100 description: Bugfix (shadowed variables) in ReaderYODA diffs (15 lines): --- a/src/ReaderYODA.cc Thu Sep 03 21:43:57 2015 +0100 +++ b/src/ReaderYODA.cc Mon Sep 07 17:11:29 2015 +0100 @@ -67,9 +67,9 @@ // We require a BEGIN line to start a context if (s.find("BEGIN ") == string::npos) { - stringstream s; - s << "Unexpected line in YODA format parsing when BEGIN expected: '" << s << "' on line " << nline; - throw ReadError(s.str()); + stringstream ss; + ss << "Unexpected line in YODA format parsing when BEGIN expected: '" << s << "' on line " << nline; + throw ReadError(ss.str()); } // Split into parts
More information about the yoda-svn mailing list |