* Workaround for a bug (?) in GCC 2.95.

This commit is contained in:
Eelco Dolstra 2006-08-07 19:48:38 +00:00
parent 5a6b45e252
commit a0607be7f4
1 changed files with 1 additions and 1 deletions

View File

@ -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();