mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 12:10:09 +02:00
Replace std::monostate with std::nullptr_t
This represents the underlying meaning better since we're mostly dealing with the `data` void pointer argument.
This commit is contained in:
@@ -204,7 +204,7 @@ void Logger::log_event_response(bool is_dispatch,
|
||||
|
||||
std::visit(
|
||||
overload{
|
||||
[&](const std::monostate&) {},
|
||||
[&](const std::nullptr_t&) {},
|
||||
[&](const std::string& s) {
|
||||
if (s.size() < 32) {
|
||||
message << ", \"" << s << "\"";
|
||||
|
||||
Reference in New Issue
Block a user