diff options
Diffstat (limited to 'src/outputlist.cpp')
-rw-r--r-- | src/outputlist.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/outputlist.cpp b/src/outputlist.cpp index 8b9781b..b580a58 100644 --- a/src/outputlist.cpp +++ b/src/outputlist.cpp @@ -156,20 +156,20 @@ bool OutputList::isEnabled(OutputGenerator::OutputType o) return result; } -OutputList &OutputList::operator+=(const OutputList &outputList) -{ - OutputList *ol=(OutputList *)&outputList; - OutputGenerator *ogsrc=ol->outputs->first(); - OutputGenerator *ogdst=outputs->first(); - //printf("OutputList::operator+= src=%d dst=%d\n",outputs->count(),ol->outputs->count()); - while (ogdst && ogsrc) - { - ogdst->append(ogsrc); - ogsrc=ol->outputs->next(); - ogdst=outputs->next(); - } - return *this; -} +//OutputList &OutputList::operator+=(const OutputList &outputList) +//{ +// OutputList *ol=(OutputList *)&outputList; +// OutputGenerator *ogsrc=ol->outputs->first(); +// OutputGenerator *ogdst=outputs->first(); +// //printf("OutputList::operator+= src=%d dst=%d\n",outputs->count(),ol->outputs->count()); +// while (ogdst && ogsrc) +// { +// ogdst->append(ogsrc); +// ogsrc=ol->outputs->next(); +// ogdst=outputs->next(); +// } +// return *this; +//} void OutputList::pushGeneratorState() { |