Fixed ScriptValue::mapView() for const ScriptValues.

This commit is contained in:
2024-11-20 20:19:29 +01:00
parent 71fc1686bb
commit 4be8f387dc
2 changed files with 5 additions and 2 deletions

View File

@@ -81,6 +81,9 @@ public:
template<typename TMap>
MapView(TMap& map) -> MapView<typename TMap::key_type, typename TMap::mapped_type, TMap>;
template<typename TMap>
MapView(const TMap& map) -> MapView<typename TMap::key_type, const typename TMap::mapped_type, const TMap>;
//
// public functions
//