Further GCC 4.7.0 fixes.

git-svn-id: svn://localhost/ardour2/branches/3.0@11768 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2012-03-30 01:21:08 +00:00
parent 8ae1880e33
commit 7c2b3171c2
2 changed files with 2 additions and 1 deletions

View File

@ -6,6 +6,7 @@
#include <boost/type_traits.hpp>
#include <memory>
#include <algorithm>
#include <cstring>
namespace AudioGrapher
{

View File

@ -99,7 +99,7 @@ public:
virtual uint32_t write(Time time, EventType type, uint32_t size, const uint8_t* buf) {
if (type == cc_type) {
CPPUNIT_ASSERT(size == 3);
events.push_back(make_pair(time, buf[2]));
events.push_back(std::make_pair(time, buf[2]));
}
return size;
}