From 8ae1880e33803a41f9095a3f9e146bd6a96a3441 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 30 Mar 2012 00:03:53 +0000 Subject: [PATCH] Some fixes for GCC 4.7.0 git-svn-id: svn://localhost/ardour2/branches/3.0@11767 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/audiographer/audiographer/sndfile/sndfile_reader.h | 2 +- libs/audiographer/src/general/sample_format_converter.cc | 2 +- libs/evoral/evoral/EventList.hpp | 2 +- libs/rubberband/src/main.cpp | 1 + 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/libs/audiographer/audiographer/sndfile/sndfile_reader.h b/libs/audiographer/audiographer/sndfile/sndfile_reader.h index f7a04f22d6..aa3c0cc899 100644 --- a/libs/audiographer/audiographer/sndfile/sndfile_reader.h +++ b/libs/audiographer/audiographer/sndfile/sndfile_reader.h @@ -43,7 +43,7 @@ class SndfileReader if (frames_read < context.frames()) { c_out.set_flag (ProcessContext::EndOfInput); } - output (c_out); + this->output (c_out); return frames_read; } diff --git a/libs/audiographer/src/general/sample_format_converter.cc b/libs/audiographer/src/general/sample_format_converter.cc index a1aa4d88a9..0dab2689dd 100644 --- a/libs/audiographer/src/general/sample_format_converter.cc +++ b/libs/audiographer/src/general/sample_format_converter.cc @@ -125,7 +125,7 @@ SampleFormatConverter::process (ProcessContext const & c_in) /* Write forward */ ProcessContext c_out(c_in, data_out); - output (c_out); + this->output (c_out); } /* Basic non-const version of process(), calls the const one */ diff --git a/libs/evoral/evoral/EventList.hpp b/libs/evoral/evoral/EventList.hpp index 81243f8cbb..e1a2679ce7 100644 --- a/libs/evoral/evoral/EventList.hpp +++ b/libs/evoral/evoral/EventList.hpp @@ -36,7 +36,7 @@ public: EventList() {} uint32_t write(Time time, EventType type, uint32_t size, const uint8_t* buf) { - push_back(new Evoral::Event