Skip to content

Commit

Permalink
test build
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannes Unger authored and Johannes Unger committed Jul 21, 2024
1 parent 3e4c577 commit 84926f5
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/com/midi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include <com/exception.hpp>
#include <math.h>
#include <sstream>
#include <boost/functional/hash.hpp>
//#include <boost/functional/hash.hpp>

namespace
{
Expand Down Expand Up @@ -631,15 +631,15 @@ namespace com

size_t EventHasher::operator()(const Event &ev) const
{
using boost::hash_value;
using boost::hash_combine;
// using boost::hash_value;
// using boost::hash_combine;
size_t seed = 0;
hash_combine(seed, hash_value(ev.absPosition()));
hash_combine(seed, hash_value(ev.channel()));
hash_combine(seed, hash_value(ev.eventType()));
hash_combine(seed, hash_value(ev.parameter1()));
hash_combine(seed, hash_value(ev.parameter2()));
hash_combine(seed, hash_value(ev.payloadSize()));
// hash_combine(seed, hash_value(ev.absPosition()));
// hash_combine(seed, hash_value(ev.channel()));
// hash_combine(seed, hash_value(ev.eventType()));
// hash_combine(seed, hash_value(ev.parameter1()));
// hash_combine(seed, hash_value(ev.parameter2()));
// hash_combine(seed, hash_value(ev.payloadSize()));
return seed;
}

Expand Down

0 comments on commit 84926f5

Please sign in to comment.