Use std::nullopt instead of {}

This commit is contained in:
Joakim Hove 2021-05-26 10:23:17 +02:00
parent d94cc2cc30
commit 3025bf3280

View File

@ -163,7 +163,7 @@ public:
if (index_iter != this->index_map.end())
return index_iter->second;
return {};
return std::nullopt;
}