Fix compilation error
Add hasher to unordered_map with an enum class key.
This commit is contained in:
@@ -500,7 +500,8 @@ struct ToolLocationPreference::Impl {
|
||||
Gtk::TreeViewColumn toolListViewColumnFavorite;
|
||||
Gtk::TreeViewColumn toolListViewColumnToolName;
|
||||
Gtk::TreeView *toolListViewPtr;
|
||||
std::unordered_map<Tool, Gtk::TreeModel::iterator> toolListToolToRowIterMap;
|
||||
std::unordered_map<Tool, Gtk::TreeModel::iterator, ScopedEnumHash>
|
||||
toolListToolToRowIterMap;
|
||||
|
||||
// Favorites list.
|
||||
FavoritesColumns favoritesColumns;
|
||||
|
Reference in New Issue
Block a user