mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
Reduce reliance on boost - the easy part
* boost::unordered_map -> std::unordered_map * BOOST_STATIC_ASSERT/static_assert * BOOST_FOREACH -> for * boost::tuple -> std::tuple/g * boost::math::isnormal -> std::isnormal * boost::container::set -> std::set * boost::none -> std::nullopt * boost::optional -> std::optional
This commit is contained in:
parent
168b917730
commit
ff95d81612
58 changed files with 144 additions and 155 deletions
|
|
@ -1,7 +1,7 @@
|
|||
#ifndef __gtk2_ardour_ghost_event_h__
|
||||
#define __gtk2_ardour_ghost_event_h__
|
||||
|
||||
#include <boost/unordered_map.hpp>
|
||||
#include <unordered_map>
|
||||
#include <sigc++/trackable.h>
|
||||
|
||||
#include "evoral/Note.h"
|
||||
|
|
@ -28,7 +28,7 @@ class GhostEvent : public sigc::trackable
|
|||
|
||||
/* must match typedef in NoteBase */
|
||||
typedef Evoral::Note<Temporal::Beats> NoteType;
|
||||
typedef boost::unordered_map<std::shared_ptr<NoteType>, GhostEvent* > EventList;
|
||||
typedef std::unordered_map<std::shared_ptr<NoteType>, GhostEvent* > EventList;
|
||||
|
||||
static GhostEvent* find (std::shared_ptr<NoteType> parent, EventList& events, EventList::iterator& opti);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue