Fix libevoal unit-test compilation

This commit is contained in:
Robin Gareus 2019-09-05 14:08:31 +02:00
parent f491d7ec71
commit efec546035
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
6 changed files with 20 additions and 19 deletions

View file

@ -2,7 +2,7 @@
#include <sigc++/sigc++.h>
#include <cppunit/TestFixture.h>
#include <cppunit/extensions/HelperMacros.h>
#include "evoral/Beats.hpp"
#include "temporal/beats.h"
#include "evoral/Sequence.hpp"
#include "evoral/TypeMap.hpp"
#include "evoral/EventSink.hpp"
@ -119,7 +119,7 @@ class SequenceTest : public CppUnit::TestFixture
CPPUNIT_TEST_SUITE_END ();
public:
typedef Beats Time;
typedef Temporal::Beats Time;
typedef std::vector< boost::shared_ptr< Note<Time> > > Notes;
void setUp () {
@ -131,7 +131,7 @@ public:
for (int i = 0; i < 12; i++) {
test_notes.push_back(
boost::shared_ptr<Note<Time> >(
new Note<Time>(0, Beats(i * 100), Beats(100), 64 + i, 64)));
new Note<Time>(0, Time(i * 100), Time(100), 64 + i, 64)));
}
}