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:
Robbert van der Helm
2020-04-19 16:02:01 +02:00
parent 717ffb719d
commit 9f3ed85208
4 changed files with 7 additions and 10 deletions
+1 -1
View File
@@ -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 << "\"";