Use std::nullopt instead of {}

This commit is contained in:
Joakim Hove committed 2021-05-27 10:45:33 +02:00
1 parent d94cc2cc30
commit 3025bf3280
1 file changed
+1 -1
+1 -1
View File
@@ -163,7 +163,7 @@ public:
if (index_iter != this->index_map.end())
return index_iter->second;
return {};
return std::nullopt;
}