mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-06 19:40:10 +02:00
Use the std::derived_from concept when applicable
This probably makes things much clearer at a glance instead of using a blanked typename.
This commit is contained in:
@@ -152,8 +152,8 @@ class Vst2EventHandler : public AdHocSocketHandler<Thread> {
|
||||
* @relates Vst2EventHandler::receive_events
|
||||
* @relates passthrough_event
|
||||
*/
|
||||
template <typename D>
|
||||
intptr_t send_event(D& data_converter,
|
||||
template <std::derived_from<DefaultDataConverter> Converter>
|
||||
intptr_t send_event(Converter& data_converter,
|
||||
std::optional<std::pair<Vst2Logger&, bool>> logging,
|
||||
int opcode,
|
||||
int index,
|
||||
|
||||
Reference in New Issue
Block a user