* Workaround for a bug (?) in GCC 2.95.
This commit is contained in:
parent
5a6b45e252
commit
a0607be7f4
|
@ -804,7 +804,7 @@ static void opQuery(Globals & globals,
|
|||
/* Print the desired columns, or XML output. */
|
||||
Table table;
|
||||
ostringstream dummy;
|
||||
XMLWriter xml(xmlOutput ? cout : dummy);
|
||||
XMLWriter xml(*(xmlOutput ? &cout : &dummy));
|
||||
XMLOpenElement xmlRoot(xml, "items");
|
||||
|
||||
for (vector<DrvInfo>::iterator i = elems2.begin();
|
||||
|
|
Loading…
Reference in a new issue